{"name":"regjsparser","version":"0.11.2","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"license":"BSD-2-Clause","_id":"regjsparser@0.11.2","homepage":"https://github.com/jviereck/regjsparser","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"bin":{"regjsparser":"bin/parser"},"dist":{"shasum":"7404ad42be00226d72bcf1f003f1f441861913d8","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.11.2.tgz","fileCount":6,"integrity":"sha512-3OGZZ4HoLJkkAZx/48mTXJNlmqTGOzc0o9OWQPuWpkOlXXPbyN6OafCcoXUnBqE2D3f/T5L+pWc1kdEmnfnRsA==","signatures":[{"sig":"MEUCIQCQlROms8znHt+yQ2lB6xIa4McxwbTfz1drDiZEz/MwQQIgY2gdLXXto0b/Q7PaVcWGDvCxf9LDv6JPGf5eCdaeYGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70810,"size":20310,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.11.2.tgz"},"main":"./parser","types":"./parser.d.ts","gitHead":"ac51d2be146cc7d337e87dcc094abac64d9f7c6d","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"},"_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"repository":{"url":"git+ssh://git@github.com/jviereck/regjsparser.git","type":"git"},"_npmVersion":"10.8.3","description":"Parsing the JavaScript's RegExp in JavaScript.","directories":{},"_nodeVersion":"22.9.0","dependencies":{"jsesc":"~3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.10.0","globals":"^15.9.0","regenerate":"~1.0.1","typescript":"^4.5.2","npm-run-all":"^4.1.5","eslint-plugin-regexp":"^2.6.0","@unicode/unicode-16.0.0":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/regjsparser_0.11.2_1730045070679_0.9874524462255936","host":"s3://npm-registry-packages"},"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":1730045070881,"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_cnpm_publish_time":1730045070881,"dist-tags":{"latest":"0.14.1"}}