{"name":"regjsparser","version":"0.1.0","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"license":"BSD","main":"./parser","bin":{"regjsparser":"bin/parser"},"homepage":"https://github.com/jviereck/regjsparser","repository":{"type":"git","url":"git@github.com:jviereck/regjsparser.git"},"dependencies":{"jsesc":"~0.4.3"},"scripts":{"test":"node test/index.js"},"files":["bin/","LICENSE.BSD","parser.js","README.md"],"description":"Parsing the JavaScript's RegExp in JavaScript.","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"_id":"regjsparser@0.1.0","dist":{"shasum":"299d2a6b2f8606ed39928991f5684adea6f6a8e1","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.1.0.tgz","integrity":"sha512-BiMAyvXoMxWnk4i8VLXuirlCEZXuLBMNbegJwnQBZn8HJXDR01jf283P4DCaIEwIDfZbvVFou8lvFQjBB1bqlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2GsdpEm2q6FXr/rlQJLagPr3xuNjKZMB3qAOVDgvh8AiBTIH5MKiFfbcPIREnMe5+GL+3VWBRN2MBR2aeTGcqx2g=="}],"size":9571,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"directories":{},"readme":"# RegJSParser\n\nParsing the JavaScript's RegExp in JavaScript.\n\n## Installation\n\n```bash\nnpm install regjsparser\n```\n\n## Usage\n\n```js\nvar parse = require('regjsparser').parse;\n\nvar parseTree = parse('^a'); // /^a/\nconsole.log(parseTree);\n\n// Toggle on/off additional features:\nvar parseTree = parse('^a', '', {\n  // SEE: https://github.com/jviereck/regjsparser/pull/78\n  unicodePropertyEscape: true,\n\n  // SEE: https://github.com/jviereck/regjsparser/pull/83\n  namedGroups: true,\n\n  // SEE: https://github.com/jviereck/regjsparser/pull/89\n  lookbehind: true\n});\nconsole.log(parseTree);\n```\n\n## Testing\n\nTo run the tests, run the following command:\n\n```bash\nnpm test\n```\n\nTo create a new reference file, execute…\n\n```bash\nnode test/update-fixtures.js\n```\n\n…from the repo top directory.\n","publish_time":1404058605871,"_cnpm_publish_time":1404058605871,"dist-tags":{"latest":"0.14.1"}}