random-guid

0.1.4 • Public • Published

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;

Readme

Keywords

Package Sidebar

Install

npm i random-guid

Weekly Downloads

53

Version

0.1.4

License

ISC

Last publish

Collaborators

  • svenanders