{"name":"regjsparser","version":"0.11.0","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"license":"BSD-2-Clause","main":"./parser","types":"./parser.d.ts","bin":{"regjsparser":"bin/parser"},"homepage":"https://github.com/jviereck/regjsparser","repository":{"type":"git","url":"git+ssh://git@github.com/jviereck/regjsparser.git"},"scripts":{"lint":"eslint --max-warnings 0 .","test":"run-p test:* && npm run lint","test:src":"node test/index.js","test:types":"tsc test/types.ts --noEmit"},"dependencies":{"jsesc":"~3.0.2"},"devDependencies":{"eslint":"^9.10.0","globals":"^15.9.0","npm-run-all":"^4.1.5","regenerate":"~1.0.1","typescript":"^4.5.2","@unicode/unicode-16.0.0":"^1.6.0"},"gitHead":"47eaf14ab217dec60dd148fbd9b2b221e6c70e79","description":"Parsing the JavaScript's RegExp in JavaScript.","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"_id":"regjsparser@0.11.0","_nodeVersion":"18.9.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-vTbzVAjQDzwQdKuvj7qEq6OlAprCjE656khuGQ4QaBLg7abQ9I9ISpmLuc6inWe7zP75AECjqUa4g4sdQvOXhg==","shasum":"f01e6ccaba36d384fb0d00a06b78b372c8b681e8","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.11.0.tgz","fileCount":6,"unpackedSize":68348,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBwYNGDZOkjc0HUWs99sCNpJLwCECEgMx7F4O5bP44g2AiEAliV5n0GM5I3yxskiYzSUCJ4/A2BRj+M9PgXe7jDhJKk="}],"size":19597,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.11.0.tgz"},"_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regjsparser_0.11.0_1726621057824_0.7840041288938171"},"_hasShrinkwrap":false,"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":1726621057991,"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_cnpm_publish_time":1726621057991,"dist-tags":{"latest":"0.14.1"}}