Generates non-standard UUIDs optimized for fast writes in MySQL InnoDB tables. Current stable version is 1.1.1, released under an MIT license. The library transforms standard UUID v1 values by transposing the time components and removing dashes to create a compact binary(16) format, which reduces index fragmentation and improves insert performance. It is distributed as a single file usable in both Node.js (via npm) and browsers (via Bower or direct script include). Unlike typical UUID generators, it prioritizes database write speed over uniqueness or standard compliance.
npm install innodb-optimized-uuidNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to generate an InnoDB-optimized UUID in Node.js and browser.
Only use for MySQL InnoDB primary key columns stored as BINARY(16). Do not use in contexts requiring standard UUIDs.
If you need v4 or v5, use a dedicated library like 'uuid' and consider alternative indexing strategies.
Review the codebase for security issues or consider using a maintained alternative.
For browser use, include the dist file directly or bundle it with your own tooling. For new projects, use npm and a bundler.
Run 'npm install innodb-optimized-uuid' in your project root.
Ensure the script tag for dist/innodb-optimized-uuid.js is added before any usage, and reference window.innodbOptimizedUuid.
Use 'var iouuid = require('innodb-optimized-uuid');' as the package does not support ES imports.No dependency data recorded yet.