Skip to content

Random string generator with custom length in javascript

License

Notifications You must be signed in to change notification settings

adminha/randable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

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

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)

About

Random string generator with custom length in javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published