{"library":"regex-parser","type":"library","category":null,"description":"regex-parser is a JavaScript utility module designed to parse a string representation of a regular expression and return a `RegExp` object. Its current stable version is 2.3.1. The package has seen infrequent updates, primarily focusing on documentation, license year, and the addition of TypeScript typings (since 2.2.9). It's a focused tool for environments where regular expressions are provided as strings and need to be converted to native `RegExp` objects, handling both the pattern and flags. Key differentiators include its simplicity and explicit support for parsing invalid flags gracefully (since 2.3.0). It doesn't offer complex regex manipulation or validation beyond standard JavaScript `RegExp` behavior, making it a lightweight option for this specific parsing task.","language":"javascript","status":"maintenance","version":"2.3.1","tags":["javascript","regular","expressions","node","parser","string","typescript"],"install":[{"cmd":"npm install regex-parser","imports":["import RegexParser from 'regex-parser';","const RegexParser = require('regex-parser');","import type RegexParser from 'regex-parser';"]},{"cmd":"yarn add regex-parser","imports":[]},{"cmd":"pnpm add regex-parser","imports":[]}],"homepage":null,"github":"https://github.com/IonicaBizau/regex-parser.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/regex-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/regex-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Wed Jul 22","install_tag":null}}