1.1.2 • Published 3 years ago

stiffelborndidgen v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

stiffelborndidgen

stiffelborndidgen is a NODE.js library for generating random string - id of chosen length.

Installation

npm install stiffelborndidgen
yarn add stiffelborndidgen

Usage

import randomID from 'stiffelborndidgen'

randomID(length);

egz. randomID(9);

return null on non numeric values.

float numbers are paresd to integers

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT