christian 4571a14169 android fix | il y a 4 ans | |
---|---|---|
.. | ||
index.d.ts | il y a 4 ans | |
index.js | il y a 4 ans | |
license | il y a 4 ans | |
package.json | il y a 4 ans | |
readme.md | il y a 4 ans |
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