Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

type-level-regexp

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-level-regexp - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "type-level-regexp",
"version": "0.1.1",
"version": "0.1.2",
"description": "Type-Level RegExp parser, matcher and permutation resolver",

@@ -5,0 +5,0 @@ "keywords": [

@@ -27,6 +27,4 @@ # 🔤🔍 Type-Level RegExp (WIP)

2. Import `createRegExp` function from `type-level-regexp`, pass in a RegExp pattern to it creates a `TypedRegExp`, passing this `TypedRegExp` to `String.match` or `String.replace` functions to get fully typed match result.
2. Import `createRegExp` function, pass in a RegExp string pattern to it creates a `TypedRegExp`, passing this `TypedRegExp` to `String.match()`, `String.matchAll()` or `String.replace()` functions to get fully typed match result.
```ts
## Basic Usage

@@ -33,0 +31,0 @@ match result will be fully typed if match against a literal stirng, or shows emumerated results if match against a dynamic string.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc