lodash.indexof
Version:
The lodash method `_.indexOf` exported as a module.
19 lines (13 loc) • 460 B
Markdown
# lodash.indexof v4.0.5
The [lodash](https://lodash.com/) method `_.indexOf` exported as a [Node.js](https://nodejs.org/) module.
## Installation
Using npm:
```bash
$ {sudo -H} npm i -g npm
$ npm i --save lodash.indexof
```
In Node.js:
```js
var indexOf = require('lodash.indexof');
```
See the [documentation](https://lodash.com/docs#indexOf) or [package source](https://github.com/lodash/lodash/blob/4.0.5-npm-packages/lodash.indexof) for more details.