christian 4571a14169 android fix | 3 anos atrás | |
---|---|---|
.. | ||
index.d.ts | 3 anos atrás | |
index.js | 3 anos atrás | |
license | 3 anos atrás | |
package.json | 3 anos atrás | |
readme.md | 3 anos atrás |
Generate a cryptographically strong random string
Can be useful for creating an identifier, slug, salt, fixture, etc.
$ npm install crypto-random-string
const cryptoRandomString = require('crypto-random-string');
cryptoRandomString(10);
//=> '2cf05d94db'
Returns a hex
string.
Type: number
Length of the returned string.
MIT © Sindre Sorhus