Package Exports
- nuid
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nuid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
NODE NUID
A highly performant unique identifier generator.
Installation
Use the npm command:
$ npm install nuidBasic Usage
const NUID = require('nuid');
let nuid = NUID.next();
// Generate a new crypto/rand seeded prefix.
// Generally not needed, happens automatically.
NUID.reset();Performance
NUID needs to be very fast to generate and be truly unique, all while being entropy pool friendly. NUID uses 12 bytes of crypto generated data (entropy draining), and 10 bytes of pseudo-random sequential data that increments with a pseudo-random increment.
Total length of a NUID string is 22 bytes of base 36 ascii text, so 36^22 or 17324272922341479351919144385642496 possibilities.
Supported Node Versions
Support policy for Nodejs versions follows Nodejs release support. We will support and build node-nats on even Nodejs versions that are current or in maintenance.
License
Unless otherwise noted, the NATS source files are distributed under the Apache Version 2.0 license found in the LICENSE file.