|
|
před 3 roky | |
|---|---|---|
| .. | ||
| index.js | před 3 roky | |
| license | před 3 roky | |
| package.json | před 3 roky | |
| readme.md | před 3 roky | |
Generate a cryptographically strong random string
Can be useful for creating an identifier, slug, salt, fixture, etc.
$ npm install --save crypto-random-string
const cryptoRandomString = require('crypto-random-string');
cryptoRandomString(10);
//=> '2cf05d94db'
Type: number
Length of the returned string.
MIT © Sindre Sorhus