Search results

380 packages found

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

published version 4.0.8, 9 months ago5097 dependents licensed under $MIT
364,703,328

Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.

published version 3.0.3, a year ago2675 dependents licensed under $MIT
368,936,973

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

published version 7.1.1, a year ago2529 dependents licensed under $MIT
366,892,218

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

published version 5.0.1, 6 years ago2480 dependents licensed under $MIT
336,592,425

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1609 dependents licensed under $MIT
138,761,028

Fastest Levenshtein distance implementation in JS.

published version 1.0.16, 3 years ago532 dependents licensed under $MIT
60,714,275

Regular expression for matching semver versions

published version 4.0.5, 3 years ago291 dependents licensed under $MIT
25,816,847

Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`

published version 6.0.0, a year ago258 dependents licensed under $MIT
25,559,755

Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)

published version 1.2.13, 7 years ago913 dependents licensed under $MIT
48,719,605

Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.

published version 0.1.2, 9 years ago379 dependents licensed under $MIT
30,562,769

Simple wildcard matching

published version 5.0.0, 4 years ago261 dependents licensed under $MIT
14,641,863

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 8 years ago376 dependents licensed under $MIT
30,398,686

The most efficient JS implementation calculating the Levenshtein distance, i.e. the difference between two strings.

published version 1.1.6, 6 years ago230 dependents licensed under $MIT
17,628,684

Fast, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. Used by micromatch.

published version 2.0.2, 7 years ago193 dependents licensed under $MIT
9,362,312

The best regular expression (regex) for matching hex color values from string.

published version 1.1.0, 8 years ago119 dependents licensed under $MIT
10,523,135

The exhaustive Pattern Matching library for TypeScript.

published version 5.7.1, 12 days ago832 dependents licensed under $MIT
8,614,353

Regular expression for matching javascript require/import statements.

published version 0.2.0, 4 years ago17 dependents licensed under $MIT
5,148,455

Parse a glob pattern into an object of tokens.

published version 3.0.4, 10 years ago230 dependents licensed under $MIT
8,535,187

[![npm-version](https://img.shields.io/npm/v/levenary.svg)](https://www.npmjs.com/package/levenary) [![github-actions](https://github.com/tanhauhau/levenary/workflows/CI/badge.svg)](https://github.com/tanhauhau/levenary/actions)

published version 1.1.1, 5 years ago87 dependents licensed under $MIT
3,996,228

Match BCP 47 language tags with language ranges per RFC 4647

published version 2.0.3, 3 years ago19 dependents licensed under $MIT
2,529,369