{"name":"regjsparser","version":"0.14.0","author":{"name":"'Julian Viereck'","email":"julian.viereck@gmail.com"},"license":"BSD-2-Clause","_id":"regjsparser@0.14.0","maintainers":[{"name":"jviereck","email":"julian.viereck@gmail.com"}],"homepage":"https://github.com/jviereck/regjsparser","bugs":{"url":"https://github.com/jviereck/regjsparser/issues"},"bin":{"regjsparser":"bin/parser"},"dist":{"shasum":"bde279adf2f701cbeed67dc925e48c3abd3e2c56","tarball":"http://registry-npm.ywwl.com/regjsparser/download/regjsparser-0.14.0.tgz","fileCount":6,"integrity":"sha512-ftmhQUEzt+GOeIuEI9MNhYMjaiAclv0DfFVOfZXN4FD5kt0VUjtWEfnss6+OfpAKeMhaRX5q2hh7C6JGdGx9Dg==","signatures":[{"sig":"MEYCIQCid0AYBuy26PD7B8+xseqoyf94huJEpnp5L2TlNDxqmgIhALcPoeGxKgfzhkoA5MxqWw3sBtE+3csji6DqINzR7oV5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGHoVA6gks/JC2gebYtD7ikw2p541PLkdCziMIlx5nQRAiAjvaxpBlNIFb/IgEYI0DvPDXsKAptLbOi9/ubUtWlzyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87023,"size":24129,"noattachment":false,"key":"/regjsparser/-/regjsparser-0.14.0.tgz"},"main":"./parser","types":"./parser.d.ts","gitHead":"da648707fa004d6190d638abf876c9a98766acef","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","test-v8-reference":"node test/v8-reference.js"},"_npmUser":{"name":"jviereck","email":"julian.viereck@gmail.com"},"repository":{"url":"git+ssh://git@github.com/jviereck/regjsparser.git","type":"git"},"_npmVersion":"9.2.0","description":"Parsing the JavaScript's RegExp in JavaScript.","directories":{},"_nodeVersion":"18.19.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":{"tmp":"tmp/regjsparser_0.14.0_1793028261330_0.6818878612929036","host":"s3://npm-registry-packages-npm-production"},"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":1793028261413,"_cnpm_publish_time":1793028261413,"dist-tags":{"latest":"0.14.1"}}