1.1.2 • Published 5 years ago

random-code-gen v1.1.2

Weekly downloads
40
License
-
Repository
github
Last release
5 years ago

Random Code Gen

A simple function to generate codes for anything what you need like exspecially making ids.

Installing

npm install code-gen
# or
yarn

Usage

const codeGen = require("random-code-gen"); //Getting package

let code = codeGen.random(5);//making 5 digit random code
let code2 = codeGen.number(6);//making 6 digit random number
console.log('Generated Random Code is "' + code + '"');//logging the code
console.log('Generated Number Code is "' + code2 + '"');//logging the code2

Contributing

  1. Fork the repository!
  2. Clone your fork: git clone https://github.com/your-username/code-gen.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Commit your changes: git commit -am 'Add some feature'
  5. Push to the branch: git push origin my-new-feature
  6. Submit a pull request

Author

© SudhanPlayz.
Authored and maintained by SudhanPlayz.

GitHub @SudhanPlayz

1.0.1

5 years ago

1.1.2

5 years ago

1.0.0

5 years ago