randomjs

Generate a random string that matches a given RegExp JavaScript object.

npm install randomjs
6 downloads in the last week
11 downloads in the last month

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

npm loves you