1.0.3 • Published 4 years ago

a-random-string v1.0.3

Weekly downloads
10
License
ISC
Repository
github
Last release
4 years ago

a-random-string

A a super simple random string generator.

a-random-string creates a random 7 digit string consisting of upper and lowercase letters along with numbers.

to use

const arandomstring = require('a-random-string');

console.log(arandomstring.generate());

Mongoose Random Id

_id: {
    'type': String,
    'default': arandomstring.generate
}

Currently this package only supports a seven digit string.

1.0.2

4 years ago

1.0.1

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago