# @nathanfaucett/object-filter

> creates a new object with all elements that pass the test implemented by the provided function.

Latest version **0.0.2** (published 2016-10-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nathanfaucett/object-filter
pnpm add @nathanfaucett/object-filter
yarn add @nathanfaucett/object-filter
bun add @nathanfaucett/object-filter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2016-10-05 |
| First published | 2016-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nathan Faucett |
| Maintainers | nathanfaucett |
| Keywords | object-filter, object-filter.js |

## Links

- npm: https://www.npmjs.com/package/@nathanfaucett/object-filter
- Repository: https://github.com/nathanfaucett/object-filter
- Homepage: https://github.com/nathanfaucett/object-filter#readme
- Issues: https://github.com/nathanfaucett/object-filter/issues
- npm.io page: https://npm.io/package/@nathanfaucett/object-filter

## Dependencies (1)

- [@nathanfaucett/keys](https://npm.io/package/@nathanfaucett/keys.md) ^0.0.2

## Recent versions

- 0.0.2 (latest) — 2016-10-05
- 0.0.1 — 2016-07-14

## README

object-filter
=======

creates a new object with all elements that pass the test implemented by the provided function.


```javascript
var objectFilter = require("@nathanfaucett/object-filter");


objectFilter({
        a: "a",
        b: "b",
        c: "c"
    },
    function(value, key) {
        return key === "b";
    }
) === {
    b: "b"
};
```

---
_Source: https://npm.io/package/@nathanfaucett/object-filter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
