# @nicholasmole/find-object-in-array

> Find an Object in an array of Objects using property and key

Latest version **0.1.0** (published 2018-08-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nicholasmole/find-object-in-array
pnpm add @nicholasmole/find-object-in-array
yarn add @nicholasmole/find-object-in-array
bun add @nicholasmole/find-object-in-array
```

## 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.1.0 |
| Published | 2018-08-22 |
| First published | 2018-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nicholas Mole |
| Maintainers | nicholasmole |
| Keywords | Object, Array, Finding |

## Links

- npm: https://www.npmjs.com/package/@nicholasmole/find-object-in-array
- Repository: https://github.com/nicholasmole/find-object-in-array
- Homepage: https://github.com/nicholasmole/find-object-in-array#readme
- Issues: https://github.com/nicholasmole/find-object-in-array/issues
- npm.io page: https://npm.io/package/@nicholasmole/find-object-in-array

## Recent versions

- 0.1.0 (latest) — 2018-08-22

## README

Find Object In Array
=========

Find an Object in an array of Objects using property and key

## Usage

`var findOinA = require('@nicholasmole/find-object-in-array');`
                                                            
```                                                                     
  var _array = [
	  {key: 'apple', color: 'red'},
		{key: 'banana', color: 'yellow'},
	];

  var result = findOinA(_array, 'key', 'apple');

// returns {key: 'apple', color: 'red'}
                               
```                                                                     

## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

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