![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | lib/ | 2 years ago | - | |
![]() | CHANGELOG.md | 40 years ago | 446 | |
![]() | LICENSE | 40 years ago | 1.1K | |
![]() | README.md | 40 years ago | 401 | d768d73 docs [كارل مبارك] |
![]() | package.json | 2 years ago | 1.3K | 3e510ca test new git [كارل مبارك] |
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();