An open API service indexing awesome lists of open source software.

https://github.com/nswbmw/node-randomjs

Generate a random string that matches a given RegExp JavaScript object.
https://github.com/nswbmw/node-randomjs

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## randomjs ##

Thanks for [fent](https://github.com/fent)'s [randexp](https://github.com/fent/randexp.js). try [http://fent.github.io/randexp.js/](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