GrauKatze 05f70669c9 Сконфигурирована и подготовлена база для проекта | 2 gadi atpakaļ | |
---|---|---|
.. | ||
index.d.ts | 2 gadi atpakaļ | |
index.js | 2 gadi atpakaļ | |
license | 2 gadi atpakaļ | |
package.json | 2 gadi atpakaļ | |
readme.md | 2 gadi atpakaļ |
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