nodescore/www/ponysays/node_modules/base64id
Rob Canning bef6cf19e4 added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00
..
lib added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00
CHANGELOG.md added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00
LICENSE added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00
README.md added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00
package.json added template for ponysays ensemble composition -- before sstate change to sequencerstate 2024-10-04 09:38:27 +02:00

README.md

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();