{"_id":"regjsparser@0.13.4","bin":{"regjsparser":"bin/parser"},"bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"dist":{"shasum":"a04c6a6976abd511561f275107243e83e05efa2d","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.13.4.tgz","fileCount":6,"integrity":"sha512-EWV80YgFaVgFrjGCAsV7oybp4GOxbls5RzBg8OB0nKEVXsBJR1JlV8Di1JhCROg3MzTfe1RI8yitIm1eOs68iA==","signatures":[{"sig":"MEUCIQCrtK0uX/E0mjoNETcpQQSprthhY2iLUrm1xyfDge0IywIgCvN26Qr622cjwxCezlVWRvFvivkTibUn4rCNvj9D8QY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCWjrpNoT1gWjVPPiLURjPGK6dRb1sE41gfRGTswDSr8AIgUwQ2c5wRSBhvPp+gbjrpXyIhR+M4XM+fOb562dXwN7c="}],"unpackedSize":78427,"size":21445,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.13.4.tgz"},"main":"./parser","name":"regjsparser","types":"./parser.d.ts","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"gitHead":"d678c2885faa5ae39d3ab9c3e5aea30a99aef78b","license":"BSD-2-Clause","scripts":{"lint":"eslint --max-warnings 0 .","test":"run-p test:* lint","bench":"run-s bench:*","test:src":"node test/index.js","test:types":"tsc test/types.ts --noEmit","bench:current":"node ./tools/bench/index.mjs current","bench:baseline":"node ./tools/bench/index.mjs baseline"},"version":"0.13.4","_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"homepage":"https://github.com/jviereck/regjsparser","repository":{"url":"git+ssh://git@github.com/jviereck/regjsparser.git","type":"git"},"_npmVersion":"11.17.0","description":"Parsing the JavaScript's RegExp in JavaScript.","directories":{},"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_nodeVersion":"25.2.1","dependencies":{"jsesc":"~3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.2","globals":"^17.3.0","tinybench":"^5.0.1","@eslint/js":"^10.0.1","regenerate":"^1.4.2","typescript":"~5.9.2","npm-run-all":"^4.1.5","regjsparser":"^0.13.3","eslint-plugin-regexp":"^3.0.0","@unicode/unicode-18.0.0":"^2.0.7"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/regjsparser_0.13.4_1791287531823_0.838986455747708"},"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":1791287531909,"_cnpm_publish_time":1791287531909,"dist-tags":{"latest":"0.14.1"}}