array-find-index
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "array-find-index", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "ES2015 `Array#findIndex()` ponyfill", | ||
@@ -22,3 +22,2 @@ "license": "MIT", | ||
"keywords": [ | ||
"es6", | ||
"es2015", | ||
@@ -25,0 +24,0 @@ "ponyfill", |
# array-find-index [![Build Status](https://travis-ci.org/sindresorhus/array-find-index.svg?branch=master)](https://travis-ci.org/sindresorhus/array-find-index) | ||
> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) ponyfill | ||
> ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com) | ||
> Ponyfill: A polyfill that doesn't overwrite the native method | ||
## Install | ||
@@ -18,3 +16,3 @@ | ||
```js | ||
arrayFindIndex = require('array-find-index'); | ||
const arrayFindIndex = require('array-find-index'); | ||
@@ -33,2 +31,2 @@ arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn'); | ||
MIT © [Sindre Sorhus](http://sindresorhus.com) | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) |
2877
31