[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE2013-11-16 08:48 1.0K 
[TXT]README.md2013-11-16 09:01 320 d768d73 docs [كارل مبارك]
[   ]index.js2013-11-16 09:01 153 3e510ca test new git [كارل مبارك]
[   ]package.json2023-06-13 07:17 1.4K3e510ca test new git [كارل مبارك]
[   ]test.js2013-11-16 09:03 689  
# 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