Emmanuil 67a2fbe5b9 done | 4 years ago | |
---|---|---|
.. | ||
index.d.ts | 4 years ago | |
index.js | 4 years ago | |
license | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 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