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.
- Host: GitHub
- URL: https://github.com/nswbmw/node-randomjs
- Owner: nswbmw
- Created: 2014-03-29T16:14:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-29T16:18:34.000Z (over 11 years ago)
- Last Synced: 2025-06-09T11:48:56.695Z (4 months ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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