npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

ans-randomizer

1.0.1 • Public • Published

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));

install

npm i ans-randomizer

Downloadsweekly downloads

1

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability