Search results
107 packages found
An extended ES6 indexOf.
a tiny utility for indexOf and lastIndexOf methods that accept regexes
Train a fast (FIFO) queue with a rollback mechanism. Behind the scenes it uses 2 arrays to simulate and perform fast shifting and popping operations without using the Array#shift() method..
async indexofhelper method as module.
Returns the index of the first instance; when called a second time, returns the index of the second instance; and so on. Works with arrays and strings.
The most performant package to find the index of an element in an array or string
Knuth-Morris-Pratt string searching algorithm.
Just like indexOf(), but returns an array of all occurrences. Works on both strings and buffers.
Pure functional AsyncIterator traversal
- AsyncIterator
- TypeScript
- all
- and
- any
- append
- average
- concat
- concatMap
- contains
- drop
- dropUntil
- dropWhile
- empty
- View more
The [strman](https://github.com/dleitee/strman) method `indexof` exported as a [Node.js](https://nodejs.org/) module.
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
return all the indexes in a sorted array
Count the number of elements in a sorted collection less than, equal, or greater than the given value
Just most common borrowed method from Array
Finding all the occurrences of an element in an array
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
A string method to check if a given string contains a specific word
It’s Array.prototype.indexOf() for Maps and Objects.