1.0.2 • Published 2 years ago

@plantacjabetonu/randomid-generator v1.0.2

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

A package containing a function for generating a string of randomised characters from the following arrangement: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

The output's length depends on entered numerical value (idLength).

Example:

// import randomID function const randomID = require('@plantacjabetonu/randomid-generator');

// print out a string of 10 random characters in console // the value '10' can be replaced with any other number console.log(randomID(10));

This package was made for the sake of learning how to create and share NPM packages.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago