NewsBlur/node/node_modules/base64id
2020-06-15 18:39:00 -04:00
..
lib Upgrading to latest node. 2020-06-15 17:12:43 -04:00
CHANGELOG.md Upgrading to latest node. 2020-06-15 17:12:43 -04:00
LICENSE Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
package.json Updating node dependencies. 2020-06-15 18:39:00 -04:00
README.md Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00

base64id

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.

Installation

$ npm install base64id

Usage

var base64id = require('base64id');

var id = base64id.generateId();