0.1.4 • Published 9 years ago
random-guid v0.1.4
random-guid
CONTRIBUTING
When making edits, please edit index.es6. index.js will be generated automatically when you run make test.
randomString(string salt)
Generate a random string
randomGuid([int numberOfBlocks, [int blockLength, string salt]])
Generate a random guid, separated with dashes.
Usage
var randomGuid = require("random-guid") .randomGuid;
domSafeRandomGuid(int blocks)
Generate a guid that is tested unique against id's on the current doc.
Usage
var domSafeRandomGuid = require("random-guid") .domSafeRandomGuid;