flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
24
VISUALIZACION/node_modules/indexes-of/README.md
generated
vendored
Executable file
24
VISUALIZACION/node_modules/indexes-of/README.md
generated
vendored
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue