lyxaira.glass 74ca844f42 Actualizacion cambios generados: seccion #12, #14 y #15. | 4 年之前 | |
---|---|---|
.. | ||
index.d.ts | 4 年之前 | |
index.js | 4 年之前 | |
license | 4 年之前 | |
package.json | 4 年之前 | |
readme.md | 4 年之前 |
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