Need private packages and team management tools?Check out npm Teams »

unique-string

2.0.0 • Public • Published

unique-string Build Status

Generate a unique random string

Install

$ npm install 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

Install

npm i unique-string

DownloadsWeekly Downloads

7,423,813

Version

2.0.0

License

MIT

Unpacked Size

2.88 kB

Total Files

5

Last publish

Collaborators

  • avatar