Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
package.json | 2023-06-13 07:17 | 1.4K | 3e510ca test new git [كارل مبارك] | |
test.js | 2013-11-16 09:03 | 689 | ||
index.js | 2013-11-16 09:01 | 153 | 3e510ca test new git [كارل مبارك] | |
README.md | 2013-11-16 09:01 | 320 | d768d73 docs [كارل مبارك] | |
LICENSE | 2013-11-16 08:48 | 1.0K |
# indexes-of like Array/String#indexOf but return all the indexes in an array. ``` js var indexesOf = require('indexes-of') var twosIndexes = indexesOf([1, 2, 3, 4, 5, 4, 3, 2, 1], 2) console.log(twosIndexes) // [1, 7] ``` # Haiku * A 5 line module. * But the tests are 40 lines. * npm publish. ## License MIT