$ npm install unique-string
Generate a unique random string
$ npm install unique-string
import uniqueString from 'unique-string';
uniqueString();
//=> 'b4de2a49c8ffa3fbee04446f045483b2'
Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.
© 2010 - cnpmjs.org x YWFE | Home | YWFE