Maik 605bfceacd module | 3 years ago | |
---|---|---|
.. | ||
index.d.ts | 3 years ago | |
index.js | 3 years ago | |
license | 3 years ago | |
package.json | 3 years ago | |
readme.md | 3 years ago |
Generate a unique random string
$ npm install unique-string
const uniqueString = require('unique-string');
uniqueString();
//=> 'b4de2a49c8ffa3fbee04446f045483b2'
Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.
MIT © Sindre Sorhus