thedesk/app/node_modules/unique-string
2019-09-12 23:38:13 +09:00
..
index.js Add: node_modules 2019-09-12 23:38:13 +09:00
license Add: node_modules 2019-09-12 23:38:13 +09:00
package.json Add: node_modules 2019-09-12 23:38:13 +09:00
readme.md Add: node_modules 2019-09-12 23:38:13 +09:00

unique-string Build Status

Generate a unique random string

Install

$ npm install --save unique-string

Usage

const uniqueString = require('unique-string');

uniqueString();
//=> 'b4de2a49c8ffa3fbee04446f045483b2'

API

uniqueString()

Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.

License

MIT © Sindre Sorhus