{"_id":"regjsparser@0.14.1","bin":{"regjsparser":"bin/parser"},"bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"dist":{"shasum":"469ce0ebbca0e8309350e132e132a066e90262bc","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.14.1.tgz","fileCount":6,"integrity":"sha512-IeYboCLG1KBNRksrZQIZ1SV5KVWZiR0ikFokOcA0n63vLvlaFvCsfxN+fd4aXwL0KW3YD+ByRzIgo9ZAHdbldw==","signatures":[{"sig":"MEQCIBXDiA/Hu8mHXMe2RCeye9/bVFTzA92JkGzxCL07rOX4AiBepzJM0oL+CgL5II053eWPJ+o30KLUpt0KmjtvIDmGLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE8HhddcnLICcVWT741I9zcafCxEfGZJqnwODQeSZ3EOAiAGNb77zM2dK43p+oFvg6NpoNlbKO3m9FnVKNU9DDPefw=="}],"unpackedSize":87311,"size":24238,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.14.1.tgz"},"main":"./parser","name":"regjsparser","types":"./parser.d.ts","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"gitHead":"1b14f512c37849c604fffe4cc1a2df713ec09821","license":"BSD-2-Clause","scripts":{"lint":"eslint --max-warnings 0 .","test":"run-p test:* lint","bench":"node --experimental-bench --bench tools/bench/index.mjs","test:src":"node test/index.js","test:types":"tsc test/types.ts --noEmit","test-v8-reference":"node test/v8-reference.js"},"version":"0.14.1","_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.20.0","description":"Parsing the JavaScript's RegExp in JavaScript.","directories":{},"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_nodeVersion":"26.13.0","dependencies":{"jsesc":"~3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.0.2","globals":"^17.3.0","@eslint/js":"^10.0.1","regenerate":"^1.4.2","typescript":"~5.9.2","npm-run-all":"^4.1.5","regjsparser":"^0.14.0","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.14.1_1793554467309_0.8929661919716734"},"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\n  // SEE: https://github.com/jviereck/regjsparser/pull/113\n  unicodeSet: true,\n\n  // SEE: https://github.com/jviereck/regjsparser/pull/127\n  modifiers: true,\n\n  // SEE: https://github.com/jviereck/regjsparser/pull/166\n  bufferBoundaries: 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":1793554467627,"_cnpm_publish_time":1793554467627,"dist-tags":{"latest":"0.14.1"}}