{"_id":"@emiplegiaqmnpm/nobis-in-mollitia","name":"@emiplegiaqmnpm/nobis-in-mollitia","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@emiplegiaqmnpm/nobis-in-mollitia","version":"1.0.0","description":"[![npm version](https://img.shields.io/npm/v/@emiplegiaqmnpm/nobis-in-mollitia.svg)](https://www.npmjs.com/package/@emiplegiaqmnpm/nobis-in-mollitia) [![Downloads/month](https://img.shields.io/npm/dm/@emiplegiaqmnpm/nobis-in-mollitia.svg)](http://www.npmt","main":"index.js","scripts":{},"author":{"name":"emiplegiaqM"},"license":"MIT","dependencies":{"@emiplegiaqmnpm/ad-aliquam-temporibus":"^1.0.0","@emiplegiaqmnpm/adipisci-nisi-laudantium":"^1.0.0","@emiplegiaqmnpm/adipisci-optio-nemo":"^1.0.0","@emiplegiaqmnpm/at-cum-saepe":"^1.0.0","@emiplegiaqmnpm/cupiditate-excepturi-necessitatibus":"^1.0.0","@emiplegiaqmnpm/deserunt-odit-eveniet":"^1.0.0","@emiplegiaqmnpm/dicta-aliquid-aut":"^1.0.0","@emiplegiaqmnpm/dolorum-vitae-itaque":"^1.0.0","@emiplegiaqmnpm/eaque-vitae-recusandae":"^1.0.0","@emiplegiaqmnpm/esse-quos-sunt":"^1.0.0","@emiplegiaqmnpm/explicabo-dolor-quo":"^1.0.0","@emiplegiaqmnpm/fugit-vero-voluptas":"^1.0.0","@emiplegiaqmnpm/id-magnam-quo":"^1.0.0","@emiplegiaqmnpm/iure-autem-nobis":"^1.0.0","@emiplegiaqmnpm/magni-doloremque-facilis":"^1.0.0","@emiplegiaqmnpm/minima-cumque-dolore":"^1.0.0","@emiplegiaqmnpm/perferendis-iusto-itaque":"^1.0.0","@emiplegiaqmnpm/porro-culpa-sint":"^1.0.0","@emiplegiaqmnpm/praesentium-consequuntur-iure":"^1.0.0","@emiplegiaqmnpm/praesentium-ut-quam":"^1.0.0","@emiplegiaqmnpm/quaerat-totam-pariatur":"^1.0.0","@emiplegiaqmnpm/quas-vero-impedit":"^1.0.0","@emiplegiaqmnpm/quis-quis-voluptate":"^1.0.0","@emiplegiaqmnpm/reiciendis-sint-iusto":"^1.0.0","@emiplegiaqmnpm/repudiandae-dolorem-facere":"^1.0.0","@emiplegiaqmnpm/sit-nisi-praesentium":"^1.0.0","@emiplegiaqmnpm/temporibus-error-harum":"^1.0.0","@emiplegiaqmnpm/temporibus-iusto-quisquam":"^1.0.0","@emiplegiaqmnpm/ut-cum-libero":"^1.0.0","@emiplegiaqmnpm/voluptatum-praesentium-necessitatibus":"^1.0.0","@lambrioanpm/odio-nulla-recusandae":"^1.0.0","calculator-3rd":"^1.0.12","mi-dex-func-1":"^1.0.0","mi-dex-func-2":"^1.0.0","vnhat-forminput-component":"^1.0.1","web3-khai-3":"^1.0.0"},"keywords":["utility","lesscss","ArrayBuffer.prototype.slice","command","deep","i18n","fixed-width","package manager","whatwg","ESnext","serialization","URLSearchParams","rangeerror","contains","shell","prefix","BigInt64Array","byteOffset","group","keys","pnpm9","libphonenumber","parse","exec","s3","typed","isConcatSpreadable","starter","stylesheet","String.prototype.matchAll","glacier","call-bound","reuse","classname","form-validation","check","deepcopy","flatMap","ES3","includes","generics","ec2","mapreduce","callbind","has-own","karma","quote","styled-components","native","require","regular expressions","ECMAScript 2023","preprocessor","Microsoft","fetch","sequence","description","multi-package","scheme-validation","ReactiveX","reduce","create","copy","uninstall","jasmine","has","write","prototype","progress","URL","prune","syntaxerror","argv","queueMicrotask","art","buffers","dynamodb","async","asserts","toStringTag","glob","Object.is","dataview","colour","input","route","jsx","ascii","node","loadbalancing","stringify","bootstrap less","espree","classnames","nope","ava","queue","invariant","a11y","wget","names","guid","banner","color","args","positive","ES6","BigUint64Array","fsevents","functional","form","optimizer","number","remove","mocha","Uint8Array","sqs","internal","wait","eslint","collection.es6","schema","pyyaml","WeakSet","link","code points","jsdom","Object.fromEntries","trim","wrap","jsdiff","once","obj","redact","querystring","flux","redirect","streams","worker","forEach","RFC-6455","express","iteration","figlet","datastructure","mkdir","escape","byteLength","Promise","performance","wordwrap","react-testing-library","typed array","ECMAScript 2017","key","type","cli","toolkit","negative","WebSocket","xterm","iterate","forms","typedarrays","Object.getPrototypeOf","nested css","Array.prototype.flatten","storagegateway","symlink","gradients css3","npm","install","eslint-plugin","Uint8ClampedArray","fastclone","es-shim API","postcss","trimStart","browser","WeakMap","Array.prototype.contains","ECMAScript 2016","RegExp#flags","-0","bootstrap css","Array.prototype.filter","ES7","debugger","toSorted","config","eventEmitter","core-js","every","Array.prototype.findLast","ES","rds","less mixins","equal","flag","TypedArray","rm -rf","private","fast-deep-clone","log","private data","classes","push","jsonpath","merge","fastcopy","xhr","hookform","package","Streams","entries","testing","expression"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/nobis-in-mollitia.git"},"homepage":"https://github.com/emiplegiaqmnpm/nobis-in-mollitia/#readme","bugs":{"url":"https://github.com/emiplegiaqmnpm/nobis-in-mollitia/issues"},"_id":"@emiplegiaqmnpm/nobis-in-mollitia@1.0.0","gitHead":"2779f132044de802e5173bf421983f8ae98a4c9f","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-fMCfoFQn8z5rsrkC5Zod++qaYTyIHP4wypUtAiOYCuj+Llox5z4PG1KpzwYPiUl/Bsv0h5J7/x58FWubVGbp2w==","shasum":"7d4aedc00348157bfa1eb5a24045847b75de5795","tarball":"https://registry.npmjs.org/@emiplegiaqmnpm/nobis-in-mollitia/-/nobis-in-mollitia-1.0.0.tgz","fileCount":8,"unpackedSize":15538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVmsKH3Jta5VdE/lDO6DlgDEVVvUcrZxUX8hDPMyERmAiBMoc3zCsJ94pHnWR7ON8QlPWsDmi/Ipqv2rKmGXln6Pg=="}]},"_npmUser":{"name":"hn413381","email":"hn413381@gmail.com"},"directories":{},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nobis-in-mollitia_1.0.0_1714888886085_0.4030443790947016"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-05T06:01:26.004Z","1.0.0":"2024-05-05T06:01:26.226Z","modified":"2024-05-05T06:01:26.510Z"},"maintainers":[{"name":"hn413381","email":"hn413381@gmail.com"}],"description":"[![npm version](https://img.shields.io/npm/v/@emiplegiaqmnpm/nobis-in-mollitia.svg)](https://www.npmjs.com/package/@emiplegiaqmnpm/nobis-in-mollitia) [![Downloads/month](https://img.shields.io/npm/dm/@emiplegiaqmnpm/nobis-in-mollitia.svg)](http://www.npmt","homepage":"https://github.com/emiplegiaqmnpm/nobis-in-mollitia/#readme","keywords":["utility","lesscss","ArrayBuffer.prototype.slice","command","deep","i18n","fixed-width","package manager","whatwg","ESnext","serialization","URLSearchParams","rangeerror","contains","shell","prefix","BigInt64Array","byteOffset","group","keys","pnpm9","libphonenumber","parse","exec","s3","typed","isConcatSpreadable","starter","stylesheet","String.prototype.matchAll","glacier","call-bound","reuse","classname","form-validation","check","deepcopy","flatMap","ES3","includes","generics","ec2","mapreduce","callbind","has-own","karma","quote","styled-components","native","require","regular expressions","ECMAScript 2023","preprocessor","Microsoft","fetch","sequence","description","multi-package","scheme-validation","ReactiveX","reduce","create","copy","uninstall","jasmine","has","write","prototype","progress","URL","prune","syntaxerror","argv","queueMicrotask","art","buffers","dynamodb","async","asserts","toStringTag","glob","Object.is","dataview","colour","input","route","jsx","ascii","node","loadbalancing","stringify","bootstrap less","espree","classnames","nope","ava","queue","invariant","a11y","wget","names","guid","banner","color","args","positive","ES6","BigUint64Array","fsevents","functional","form","optimizer","number","remove","mocha","Uint8Array","sqs","internal","wait","eslint","collection.es6","schema","pyyaml","WeakSet","link","code points","jsdom","Object.fromEntries","trim","wrap","jsdiff","once","obj","redact","querystring","flux","redirect","streams","worker","forEach","RFC-6455","express","iteration","figlet","datastructure","mkdir","escape","byteLength","Promise","performance","wordwrap","react-testing-library","typed array","ECMAScript 2017","key","type","cli","toolkit","negative","WebSocket","xterm","iterate","forms","typedarrays","Object.getPrototypeOf","nested css","Array.prototype.flatten","storagegateway","symlink","gradients css3","npm","install","eslint-plugin","Uint8ClampedArray","fastclone","es-shim API","postcss","trimStart","browser","WeakMap","Array.prototype.contains","ECMAScript 2016","RegExp#flags","-0","bootstrap css","Array.prototype.filter","ES7","debugger","toSorted","config","eventEmitter","core-js","every","Array.prototype.findLast","ES","rds","less mixins","equal","flag","TypedArray","rm -rf","private","fast-deep-clone","log","private data","classes","push","jsonpath","merge","fastcopy","xhr","hookform","package","Streams","entries","testing","expression"],"repository":{"type":"git","url":"git+https://github.com/emiplegiaqmnpm/nobis-in-mollitia.git"},"author":{"name":"emiplegiaqM"},"bugs":{"url":"https://github.com/emiplegiaqmnpm/nobis-in-mollitia/issues"},"license":"MIT","readme":"# @emiplegiaqmnpm/nobis-in-mollitia\n\n[![npm version](https://img.shields.io/npm/v/@emiplegiaqmnpm/nobis-in-mollitia.svg)](https://www.npmjs.com/package/@emiplegiaqmnpm/nobis-in-mollitia)\n[![Downloads/month](https://img.shields.io/npm/dm/@emiplegiaqmnpm/nobis-in-mollitia.svg)](http://www.npmtrends.com/@emiplegiaqmnpm/nobis-in-mollitia)\n[![Build Status](https://github.com/emiplegiaqmnpm/nobis-in-mollitia/workflows/CI/badge.svg)](https://github.com/emiplegiaqmnpm/nobis-in-mollitia/actions)\n[![codecov](https://codecov.io/gh/emiplegiaqmnpm/nobis-in-mollitia/branch/main/graph/badge.svg)](https://codecov.io/gh/emiplegiaqmnpm/nobis-in-mollitia)\n\nA regular expression parser for ECMAScript.\n\n## 💿 Installation\n\n```bash\n$ npm install @emiplegiaqmnpm/nobis-in-mollitia\n```\n\n- require Node@^12.0.0 || ^14.0.0 || >=16.0.0.\n\n## 📖 Usage\n\n```ts\nimport {\n    AST,\n    RegExpParser,\n    RegExpValidator,\n    RegExpVisitor,\n    parseRegExpLiteral,\n    validateRegExpLiteral,\n    visitRegExpAST\n} from \"@emiplegiaqmnpm/nobis-in-mollitia\"\n```\n\n### parseRegExpLiteral(source, options?)\n\nParse a given regular expression literal then make AST object.\n\nThis is equivalent to `new RegExpParser(options).parseLiteral(source)`.\n\n- **Parameters:**\n    - `source` (`string | RegExp`) The source code to parse.\n    - `options?` ([`RegExpParser.Options`]) The options to parse.\n- **Return:**\n    - The AST of the regular expression.\n\n### validateRegExpLiteral(source, options?)\n\nValidate a given regular expression literal.\n\nThis is equivalent to `new RegExpValidator(options).validateLiteral(source)`.\n\n- **Parameters:**\n    - `source` (`string`) The source code to validate.\n    - `options?` ([`RegExpValidator.Options`]) The options to validate.\n\n### visitRegExpAST(ast, handlers)\n\nVisit each node of a given AST.\n\nThis is equivalent to `new RegExpVisitor(handlers).visit(ast)`.\n\n- **Parameters:**\n    - `ast` ([`AST.Node`]) The AST to visit.\n    - `handlers` ([`RegExpVisitor.Handlers`]) The callbacks.\n\n### RegExpParser\n\n#### new RegExpParser(options?)\n\n- **Parameters:**\n    - `options?` ([`RegExpParser.Options`]) The options to parse.\n\n#### parser.parseLiteral(source, start?, end?)\n\nParse a regular expression literal.\n\n- **Parameters:**\n    - `source` (`string`) The source code to parse. E.g. `\"/abc/g\"`.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n- **Return:**\n    - The AST of the regular expression.\n\n#### parser.parsePattern(source, start?, end?, flags?)\n\nParse a regular expression pattern.\n\n- **Parameters:**\n    - `source` (`string`) The source code to parse. E.g. `\"abc\"`.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n    - `flags?` (`{ unicode?: boolean, unicodeSets?: boolean }`) The flags to enable Unicode mode, and Unicode Set mode.\n- **Return:**\n    - The AST of the regular expression pattern.\n\n#### parser.parseFlags(source, start?, end?)\n\nParse a regular expression flags.\n\n- **Parameters:**\n    - `source` (`string`) The source code to parse. E.g. `\"gim\"`.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n- **Return:**\n    - The AST of the regular expression flags.\n\n### RegExpValidator\n\n#### new RegExpValidator(options)\n\n- **Parameters:**\n    - `options` ([`RegExpValidator.Options`]) The options to validate.\n\n#### validator.validateLiteral(source, start, end)\n\nValidate a regular expression literal.\n\n- **Parameters:**\n    - `source` (`string`) The source code to validate.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n\n#### validator.validatePattern(source, start, end, flags)\n\nValidate a regular expression pattern.\n\n- **Parameters:**\n    - `source` (`string`) The source code to validate.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n    - `flags?` (`{ unicode?: boolean, unicodeSets?: boolean }`) The flags to enable Unicode mode, and Unicode Set mode.\n\n#### validator.validateFlags(source, start, end)\n\nValidate a regular expression flags.\n\n- **Parameters:**\n    - `source` (`string`) The source code to validate.\n    - `start?` (`number`) The start index in the source code. Default is `0`.\n    - `end?` (`number`) The end index in the source code. Default is `source.length`.\n\n### RegExpVisitor\n\n#### new RegExpVisitor(handlers)\n\n- **Parameters:**\n    - `handlers` ([`RegExpVisitor.Handlers`]) The callbacks.\n\n#### visitor.visit(ast)\n\nValidate a regular expression literal.\n\n- **Parameters:**\n    - `ast` ([`AST.Node`]) The AST to visit.\n\n## 📰 Changelog\n\n- [GitHub Releases](https://github.com/emiplegiaqmnpm/nobis-in-mollitia/releases)\n\n## 🍻 Contributing\n\nWelcome contributing!\n\nPlease use GitHub's Issues/PRs.\n\n### Development Tools\n\n- `npm test` runs tests and measures coverage.\n- `npm run build` compiles TypeScript source code to `index.js`, `index.js.map`, and `index.d.ts`.\n- `npm run clean` removes the temporary files which are created by `npm test` and `npm run build`.\n- `npm run lint` runs ESLint.\n- `npm run update:test` updates test fixtures.\n- `npm run update:ids` updates `src/unicode/ids.ts`.\n- `npm run watch` runs tests with `--watch` option.\n\n[`AST.Node`]: src/ast.ts#L4\n[`RegExpParser.Options`]: src/parser.ts#L743\n[`RegExpValidator.Options`]: src/validator.ts#L220\n[`RegExpVisitor.Handlers`]: src/visitor.ts#L291\n","readmeFilename":"README.md"}