1.0.3 • Published 6 years ago

alpha-rand v1.0.3

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 years ago

Random alphabetic string generator

Simple implementation of random string generation using crypto for better randomness.
The string will consist of alphabetic characters only, both lower and upper case (a-zA-Z).

Usage

Install the package:

npm install alpha-rand
yarn add alpha-rand

Import and use:

const strRandom = require('alpha-rand');
strRandom(128); // 128 characters random string.
strRandom(32); // 32 characters random string.

Or, even more easy: just copy the code!

1.0.3

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago