Search results

387 packages found

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 ago2508 dependents licensed under $MIT
473,425,786

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

published version 4.0.8, a year ago4973 dependents licensed under $MIT
464,995,218

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 ago2363 dependents licensed under $MIT
471,525,909

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 ago2306 dependents licensed under $MIT
431,459,851

Measure the difference between two strings using the Levenshtein distance algorithm

published version 4.0.0, 4 years ago1483 dependents licensed under $MIT
182,383,609

Fastest Levenshtein distance implementation in JS.

published version 1.0.16, 3 years ago554 dependents licensed under $MIT
68,910,990

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 ago757 dependents licensed under $MIT
71,945,186

Regular expression for matching semver versions

published version 4.0.5, 3 years ago249 dependents licensed under $MIT
33,776,835

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

published version 6.0.0, a year ago197 dependents licensed under $MIT
33,227,018

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 ago344 dependents licensed under $MIT
36,593,953

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

published version 1.0.0, 8 years ago344 dependents licensed under $MIT
36,559,349

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 ago158 dependents licensed under $MIT
17,554,646

Simple wildcard matching

published version 5.0.0, 4 years ago256 dependents licensed under $MIT
16,582,647

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

published version 1.1.6, 7 years ago216 dependents licensed under $MIT
21,627,733

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

published version 1.1.0, 8 years ago109 dependents licensed under $MIT
15,365,488

The exhaustive Pattern Matching library for TypeScript.

published version 5.7.1, 2 months ago852 dependents licensed under $MIT
10,559,538

Parse a glob pattern into an object of tokens.

published version 3.0.4, 10 years ago193 dependents licensed under $MIT
16,045,403

Regular expression for matching javascript require/import statements.

published version 0.2.0, 4 years ago17 dependents licensed under $MIT
5,868,200

[![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 ago69 dependents licensed under $MIT
7,441,126

Match BCP 47 language tags with language ranges per RFC 4647

published version 2.0.3, 3 years ago19 dependents licensed under $MIT
3,139,960