No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Initial implementation Sep 7, 2012
.gitignore Initial implementation Sep 7, 2012
.npmignore Initial implementation Sep 7, 2012
LICENSE chore(license): update license format (#9) Dec 1, 2016
README.md Fix typo Sep 26, 2012
package.json chore(release): release 1.0.0 (#10) Dec 1, 2016

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