Generate random string with mixed lowercase, uppercase and numbers to use anywhere (such as generating unique IDs or URLs).
import randable from 'randable'
After importing, you can use it like the syntax below (for example, generating random string of 5 characters length):
randable(5) // ipEg1
randable(12) // ofGnd1t5Lc8Z
- 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.
- 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)