{"name":"regjsparser","version":"0.11.1","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":{"@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","typescript":"^4.5.2"},"gitHead":"0a113bb9cf28353bebe9af4e971c04444012c349","description":"Parsing the JavaScript's RegExp in JavaScript.","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"_id":"regjsparser@0.11.1","_nodeVersion":"18.9.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-1DHODs4B8p/mQHU9kr+jv8+wIC9mtG4eBHxWxIq5mhjE3D5oORhCc6deRKzTjs9DcfRFmj9BHSDguZklqCGFWQ==","shasum":"ae55c74f646db0c8fcb922d4da635e33da405149","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.11.1.tgz","fileCount":6,"unpackedSize":69382,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIEIaDPY4Cm/shMsBwv0AiAulc3BvflXLKNG8lE851Mk7Ah8Nhxnpxsqu9RprmS9sP53ZiKSs/AtKjS6kUfr2pLdC"}],"size":19828,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.11.1.tgz"},"_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/regjsparser_0.11.1_1728160357725_0.2602555087900531"},"_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":1728160357950,"maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"_cnpm_publish_time":1728160357950,"dist-tags":{"latest":"0.14.1"}}