Search results

1000+ packages found

ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.

published version 1.0.0, 10 years ago224 dependents licensed under $MIT
3,976,775

ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.

published version 2.0.3, 7 years ago1 dependents licensed under $MIT
959

Get the first fulfilled promise that satisfies the provided testing function

published version 6.0.0, 4 years ago2290 dependents licensed under $MIT
733,699,171

User-friendly glob matching

published version 14.1.0, 6 months ago8450 dependents licensed under $MIT
322,599,345

An ESnext spec-compliant `Array.prototype.findLastIndex` shim/polyfill/replacement that works as far down as ES3.

published version 1.2.6, 5 months ago469 dependents licensed under $MIT
98,452,033

An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.

published version 1.2.5, a year ago460 dependents licensed under $MIT
74,898,044

ES2015 `Array#findIndex()` ponyfill

published version 1.0.2, 9 years ago293 dependents licensed under $MIT
28,573,442

finds an item in an array matching a predicate function, and returns its index

published version 1.1.1, 6 years ago25 dependents licensed under $MIT
4,010,500

Get the first path that exists on disk of multiple paths

published version 7.2.0, 3 years ago2323 dependents licensed under $MIT
732,061,712

Replace or remove multiple items in an array.

published version 5.0.2, a year ago48 dependents licensed under $MIT
13,430,265

Get an available port

published version 7.1.0, a year ago2161 dependents licensed under $MIT
51,345,086

An ESnext spec-compliant iterator helpers shim/polyfill/replacement that works as far down as ES3.

published version 1.2.1, 8 months ago548 dependents licensed under $MIT
85,222,434

Find the first element in an array that passes a callback test. Equivalent to underscore.find()

published version 0.0.1, 13 years ago9 dependents licensed under $MIT
1,881,420

Find a file or directory by walking up parent directories

published version 7.0.0, 2 years ago5199 dependents licensed under $MIT
772,225,234

Regular expression for matching ANSI escape codes

published version 6.1.0, a year ago3211 dependents licensed under $MIT
1,104,315,814

A tiny (183B to 210B) and fast utility to ascend parent directories

published version 3.2.0, a year ago2103 dependents licensed under $MIT
305,422,502

Find the first file matching a given pattern in the current directory or the nearest ancestor directory.

published version 5.0.0, 4 years ago774 dependents licensed under $MIT
43,824,898

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

published version 4.0.8, a year ago5021 dependents licensed under $MIT
405,230,564

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 8 years ago662 dependents licensed under $MIT
117,653,420

Extends `minimatch.match()` with support for multiple patterns

published version 7.0.0, 2 years ago879 dependents licensed under $MIT
27,318,194