simple-random-id

1.0.1 • Public • Published

SimpleRandomId by @michalbe

Simple random alphanumeric string generator.

How to use:

npm install simple-random-id

then:

var sri = require('simple-random-id');
 
// Only parameter it takes is length of the random string
// Default length is 10
sri();   // 'UIWSNLJ9L8'
sri(3);  // 'PX0'
sri(24); // 'SXB0KT4SJ1SGU8FRAK6LFVJB'

Readme

Keywords

none

Package Sidebar

Install

npm i simple-random-id

Weekly Downloads

3

Version

1.0.1

License

none

Last publish

Collaborators

  • michalbe