hexo/node_modules/unique-string
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
index.d.ts 20231003 update 2023-10-03 11:14:36 +08:00
index.js 20231003 update 2023-10-03 11:14:36 +08:00
license 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00
readme.md 20231003 update 2023-10-03 11:14:36 +08:00

readme.md

unique-string Build Status

Generate a unique random string

Install

$ npm install unique-string

Usage

const uniqueString = require('unique-string');

uniqueString();
//=> 'b4de2a49c8ffa3fbee04446f045483b2'

API

uniqueString()

Returns a 32 character unique string. Matches the length of MD5, which is unique enough for non-crypto purposes.

License

MIT © Sindre Sorhus