Showing 1-20 of 286,366 packages
The exhaustive Pattern Matching library for TypeScript.
<h1 align="center">TS-Pattern</h1>
break/continue controls for loops and higher-order functions (sync, async, concurrent). Designed to compose with ts-pattern.
<h1 align="center">ts-pattern</h1>
recommend ternary expression over pattern matching boolean values
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
`@jest/pattern` is a helper library for the jest library that implements the logic for parsing and matching patterns.
An object-oriented command-line parser for TypeScript
It's a very fast and efficient glob library for Node.js
a glob matcher in javascript
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Options-defaults design pattern implementation for reliable configuration. It merges objects deeply, overrides arrays and classes (different than Object) and the result remains strongly typed.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Adds pattern matching, optional properties, and several other helpers and types, to io-ts.
No dependency pattern matching library created for TypeScript
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
TypeScript definitions for parse-glob
Validates a deep structured JSON pattern
Utilities for working with match patterns.