# boundless-utils-object-intersection

> Returns an intersection of the first argument against the second argument's keys.

Latest version **1.1.0** (published 2017-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install boundless-utils-object-intersection
pnpm add boundless-utils-object-intersection
yarn add boundless-utils-object-intersection
bun add boundless-utils-object-intersection
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2017-06-06 |
| First published | 2017-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 239 |
| Maintainers | probablyup |

## Links

- npm: https://www.npmjs.com/package/boundless-utils-object-intersection
- Repository: https://github.com/enigma-io/boundless
- Homepage: https://boundless.js.org/objectIntersection
- Issues: https://github.com/enigma-io/boundless/issues
- npm.io page: https://npm.io/package/boundless-utils-object-intersection

## Recent versions

- 1.1.0 (latest) — 2017-06-06
- 1.0.4 — 2017-03-14
- 1.0.3 — 2017-02-20
- 1.0.2 — 2017-02-09
- 1.0.1 — 2017-02-07
- 1.0.0 — 2017-02-07
- 1.0.0-beta.7 — 2017-02-04
- 1.0.0-beta.6 — 2017-01-26

## README

<!---
THIS IS AN AUTOGENERATED FILE. EDIT PACKAGES/BOUNDLESS-UTILS-OBJECT-INTERSECTION/INDEX.JS INSTEAD.
-->
# objectIntersection

Returns an intersection of the first argument against the second argument's keys.

## Installation

```bash
npm i boundless-utils-object-intersection --save
```

Then use it like:


```jsx
/** @jsx createElement */

import intersect from 'boundless-utils-object-intersection';

const obj1 = { foo: 'bar', bar: 'baz', baz: 'fizz' };
const obj2 = { bar: 'x' };

intersect(obj1, obj2); // returns `{bar: 'baz'}`
```

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