chrisdrakeford 9c87c1307d first commit | il y a 3 ans | |
---|---|---|
.. | ||
index.d.ts | il y a 3 ans | |
index.js | il y a 3 ans | |
license | il y a 3 ans | |
package.json | il y a 3 ans | |
readme.md | il y a 3 ans |
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