$ gnpm 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.
Copyright 2013 - present © cnpmjs.org | Home |