node-random-chars

2.0.0 • Public • Published

node-random-chars

NPM

Dependency Status Known Vulnerabilities

Creates random alphanumeric hash strings with given length

Super easy usage with ZERO dependencies

// Require the library
var hash = require('node-random-chars');

console.log(hash.create(32));
// zb10p6d2r8x2mx6roymhl7arqhyqfrtb

// c() is an alias of create()
console.log(hash.c(300));
// he3cgs3n8cmims4ica5os2kiku01wcdig89btin9llxzjjor4biaootievcxrczp7d41eaj43rf6rix7oyo5vz51urf6r0olzh20hf5gq4cxrdzzguq8kmb49529c2zkg7mkejii19k9k2wdtqpqlefgk3xryfmr2lfgv9zoajorspzc103ph0p8ehfrz5na1jo7h7gphkt9wzr8j4qe52g4aemia7vw9pl0725ipb98fvx72gfuh4a38frid0gh83t4jn3766r39p8oa2m98z7iudicsnx7htkazq41jork

With ❤️ by

Package Sidebar

Install

npm i node-random-chars

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

4.37 kB

Total Files

7

Last publish

Collaborators

  • erayalakese