randomjs
v1.0.1
Published
Generate a random string that matches a given RegExp JavaScript object.
Downloads
68
Maintainers
Readme
randomjs
Thanks for fent's randexp. try http://fent.github.io/randexp.js/ for more infomation.
Install
npm install randomjs
Usage
var randomjs = require('randomjs');
console.log(randomjs('hello{1,9} (world|to you)'));
// => HellooOO To yOU
License
MIT