Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

array-find-index

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

array-find-index

ES2015 `Array#findIndex()` ponyfill

    1.0.2latest

Version published
Maintainers
1
Weekly downloads
6,726,002
decreased by-10.94%

Weekly downloads

Readme

Source

array-find-index Build Status

ES2015 Array#findIndex() ponyfill

Install

$ npm install --save array-find-index

Usage

const arrayFindIndex = require('array-find-index'); arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn'); //=> 1

API

Same as Array#findIndex(), but with the input array as the first argument.

License

MIT © Sindre Sorhus

Keywords

FAQs

What is array-find-index?

ES2015 `Array#findIndex()` ponyfill

Is array-find-index popular?

The npm package array-find-index receives a total of 5,427,308 weekly downloads. As such, array-find-index popularity was classified as popular.

Is array-find-index well maintained?

We found that array-find-index demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 30 Sep 2016

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc