randomatic
randomatic copied to clipboard
Easily generate random strings like passwords, with simple options for specifying a length and for using patterns of numeric, alpha-numeric, alphabetical, special or custom characters. (the original "...
Add typescript definitions file index.d.ts, also there were some changes to eslint config to make it work with typescript keywords.
**insensitive** had been misspelt as **insenstive**
wanted to use this for my typescript project and saw the previous PR stalled.
`const password = randomize("aA0", 8); console.log({password}); //{ password: 'lfwWBUif' } ` in this case it didn't include any Numeric character
I added randomize("A0", 6); in a helper function. I call it first time OK. I call second time it return same result. How to return a real random?
**For those who have seen the "vulnerability" report** There is no vulnerability in randomatic, and there never was. 1. randomatic, long ago, was used for generating pseudo-random strings for unit...
`randomatic('?', 4)` Currently if the `chars` option is not specified, the characters from `undefined` are used as the custom characters (including the fact that `d`, `n` and `e` are 2x...
I use randomatic at work and i add locally to my project a option to randomize hebrew characters Do you interesting in something like that in your code?
I am a graphic designer. I have a logo proposal for you. Do you have an idea? What do you say?