![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 3 months ago | - | |
![]() | CHANGELOG.md | 3 months ago | 446 | |
![]() | LICENSE | 3 months ago | 1.1K | |
![]() | README.md | 3 months ago | 401 | |
![]() | package.json | 3 months ago | 362 |
Node.js module that generates a base64 id.
Uses crypto.randomBytes when available, falls back to unsafe methods for node.js <= 0.4.
To increase performance, random bytes are buffered to minimize the number of synchronous calls to crypto.randomBytes.
$ npm install base64id
var base64id = require('base64id');
var id = base64id.generateId();