{"name":"regjsparser","version":"0.12.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:* lint","test:src":"node test/index.js","test:types":"tsc test/types.ts --noEmit","bench:baseline":"node ./tools/bench/index.mjs baseline","bench:current":"node ./tools/bench/index.mjs current","bench":"run-s bench:*"},"dependencies":{"jsesc":"~3.0.2"},"devDependencies":{"@unicode/unicode-16.0.0":"^1.6.0","eslint":"^9.10.0","eslint-plugin-regexp":"^2.6.0","globals":"^15.9.0","npm-run-all":"^4.1.5","regenerate":"~1.0.1","regjsparser":"^0.11.2","tinybench":"^2.9.0","typescript":"^4.5.2"},"_id":"regjsparser@0.12.0","gitHead":"28addb2105bbef376253843a12b731f0df2621ab","description":"Parsing the JavaScript's RegExp in JavaScript.","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"_nodeVersion":"22.9.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==","shasum":"0e846df6c6530586429377de56e0475583b088dc","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.12.0.tgz","fileCount":6,"unpackedSize":73459,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD+Bn4CEvhAsqOrhA51I2ieXVvMjRdwFzsSrlZr0Gp4wIgdf7dc4wPMZoqN+BczgJsBL1etWW6OYxaXKlkWQsrFwc="}],"size":20736,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.12.0.tgz"},"_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regjsparser_0.12.0_1730250659368_0.81651340906821"},"_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":1730250659607,"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_cnpm_publish_time":1730250659607,"dist-tags":{"latest":"0.14.1"}}