ans-randomizer
v1.0.1
Published
This package is used to genertate random string by providing the length and type of the string you want ex: Alphanumeric, numbers or string
Downloads
8
Maintainers
Readme
ans-randomizer
This package is used to create random string including alphanumeric, numeric, string with lower and uppercase
Features
- Get alphanumeric string
- Get numeric string
- Get lowercase string
- Get uppercase string
Functions
- strLower = to get lowercase string
- strUpper = to get uppercase string
- numbOnly = to get numbers string
- strAlpha = to get alpha numeric string
Getting Started
include ans-randomizer package from node_modules
const ansRandomizer = require('ans-randomizer');
# To get random string in lower case
ansRandomizer.strLower(10));
# To get random string in upper case
ansRandomizer.strUpper(10));
# To get random string in numbers only
ansRandomizer.numbOnly(10));
# To get random string in alphanumeric
ansRandomizer.strAlpha(10));