{"library":"type-level-regexp","type":"library","category":null,"description":"Type-Level RegExp (current version 0.1.17) is a TypeScript library that implements a regular expression parser and matcher entirely at the type level, leveraging TypeScript's template literal types. It allows developers to define regex patterns as string literals and receive compile-time type-safe results when using `String.match()`, `String.matchAll()`, and `String.replace()`. This provides robust validation of regex syntax and strongly typed access to capture groups, significantly reducing runtime errors related to incorrect regex patterns or mismatched group access. The library is currently under active development ('Work In Progress'), implying an iterative release cadence focused on feature expansion and refinement. Its primary differentiator is the deep integration of regex parsing into the TypeScript type system, offering static analysis benefits not typically found in runtime-only regex solutions.","language":"javascript","status":"active","version":"0.1.17","tags":["javascript","RegExp","regex","TypeScript","type-level","type-level-programming","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install type-level-regexp","imports":["import { createRegExp } from 'type-level-regexp'","import { spreadRegExpIterator } from 'type-level-regexp'","import { ParseRegExp } from 'type-level-regexp'","import { MatchRegExp } from 'type-level-regexp'"]},{"cmd":"yarn add type-level-regexp","imports":[]},{"cmd":"pnpm add type-level-regexp","imports":[]}],"homepage":null,"github":"https://github.com/didavid61202/type-level-regexp","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/type-level-regexp","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/type-level-regexp/compatibility"}}