New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

indexed-filter

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indexed-filter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

64

package.json
{
"name": "indexed-filter",
"version": "1.0.0",
"description": "Array#filter with also detecting indexes of filtered values",
"scripts": {
"pretest": "eslint --config @shinnn browser.js index.js test.js",
"test": "node --strong_mode --throw-deprecation --track-heap-objects test.js",
"coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js"
},
"author": "Shinnosuke Watanabe <snnskwtnb@gmail.com> (https://github.com/shinnn)",
"repository": "shinnn/indexed-filter",
"license": "MIT",
"files": [
"index.js"
],
"keywords": [
"arr",
"array",
"filter",
"filtering",
"index",
"indexed",
"value",
"values",
"client-side",
"browser"
],
"devDependencies": {
"@shinnn/eslint-config": "^1.1.0",
"eslint": "^1.6.0",
"istanbul": "^0.3.22",
"tape": "^4.2.1"
}
"name": "indexed-filter",
"version": "1.0.1",
"description": "Array#filter with also detecting indexes of filtered values",
"scripts": {
"pretest": "eslint --config @shinnn browser.js index.js test.js",
"test": "node --strong_mode --throw-deprecation --track-heap-objects test.js",
"coverage": "node --strong_mode node_modules/.bin/istanbul cover test.js"
},
"author": "Shinnosuke Watanabe <snnskwtnb@gmail.com> (https://github.com/shinnn)",
"repository": "shinnn/indexed-filter",
"license": "MIT",
"files": [
"index.js"
],
"keywords": [
"arr",
"array",
"filter",
"filtering",
"index",
"indexed",
"value",
"values",
"client-side",
"browser"
],
"devDependencies": {
"@shinnn/eslint-config": "^2.0.1",
"eslint": "^2.3.0",
"istanbul": "^0.4.2",
"tape": "^4.5.1"
}
}
# indexed-filter
[![NPM version](https://img.shields.io/npm/v/indexed-filter.svg)](https://www.npmjs.org/package/indexed-filter)
[![Bower version](https://img.shields.io/bower/v/indexed-filter.svg)](https://github.com/shinnn/indexed-filter/releases)
[![npm version](https://img.shields.io/npm/v/indexed-filter.svg)](https://www.npmjs.com/package/indexed-filter)
[![Build Status](https://travis-ci.org/shinnn/indexed-filter.svg?branch=master)](https://travis-ci.org/shinnn/indexed-filter)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/indexed-filter.svg)](https://coveralls.io/r/shinnn/indexed-filter)
[![devDependency Status](https://david-dm.org/shinnn/indexed-filter/dev-status.svg)](https://david-dm.org/shinnn/indexed-filter#info=devDependencies)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/indexed-filter.svg)](https://coveralls.io/github/shinnn/indexed-filter)
[`Array#filter`](https://es5.github.io/#x15.4.4.20) with also detecting indexes of filtered values
[`Array#filter`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) with also detecting indexes of filtered values

@@ -23,6 +21,4 @@ ```javascript

### Package managers
[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).
#### [npm](https://www.npmjs.com/)
```

@@ -32,14 +28,8 @@ npm install indexed-filter

#### [Bower](http://bower.io/)
## API
```javascript
import indexedFilter from 'indexed-filter';
```
bower install indexed-filter
```
### Standalone
[Download the script file directly.](https://raw.githubusercontent.com/shinnn/indexed-filter/master/browser.js "view raw")
## API
### indexedFilter(*array*, *filterFn* [, *thisObject*])

@@ -49,3 +39,3 @@

*filterFn*: `Function`
*thisObject*: (Any value)
*thisObject*: (any value)
Return: `Array`

@@ -67,4 +57,4 @@

Copyright (c) 2015 [Shinnosuke Watanabe](https://github.com/shinnn)
Copyright (c) 2015 - 2018 [Shinnosuke Watanabe](https://github.com/shinnn)
Licensed under [the MIT License](./LICENSE).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc