1.0.1 • Published 1 year ago

randable v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Randable (Random string generator with custom length in javascript)

Generate random string with mixed lowercase, uppercase and numbers to use anywhere (such as generating unique IDs or URLs).

How to use

import randable from 'randable'
randable(5) // ipEg1
randable(12) // ofGnd1t5Lc8Z

Notes:

  • The default length for randable is 10
  • The returned string only includes uppercase & lowercase letters with numbers. There's not any dashes, underscores or any other special characters.

Disclaimer

  • This is a public/general licensed package developed by devban, you're free to use & modify it anywhere in your projects. Feel free to suggest edits or add yours (pull requests)