# value-matcher

> > ${pkg.description}

Latest version **0.2.0** (published 2018-02-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install value-matcher
pnpm add value-matcher
yarn add value-matcher
bun add value-matcher
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-02-19 |
| First published | 2017-12-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 984 |
| Author | Julien Fontanet |
| Maintainers | julien-f, marsaud, pdonias |

## Links

- npm: https://www.npmjs.com/package/value-matcher
- Repository: https://github.com/vatesfr/xen-orchestra
- Homepage: https://github.com/vatesfr/xen-orchestra/tree/master/packages/value-matcher
- Issues: https://github.com/vatesfr/xen-orchestra/issues
- npm.io page: https://npm.io/package/value-matcher

## Recent versions

- 0.2.0 (latest) — 2018-02-19
- 0.1.0 — 2018-02-05
- 0.0.0 — 2017-12-27

## README

# value-matcher [![Build Status](https://travis-ci.org/vatefr/xen-orchestra.png?branch=master)](https://travis-ci.org/vatefr/xen-orchestra)

> ${pkg.description}

## Install

Installation of the [npm package](https://npmjs.org/package/value-matcher):

```
> npm install --save value-matcher
```

## Usage

```js
import { createPredicate } from 'value-matcher'

[
  { user: 'sam', age: 65, active: false },
  { user: 'barney', age: 36, active: true },
  { user: 'fred', age: 40, active: false },
].filter(createPredicate({
  __or: [
    { user: 'sam' },
    { active: true },
  ],
}))
// [
//   { user: 'sam', age: 65, active: false },
//   { user: 'barney', age: 36, active: true },
// ]
```

## Development

```
# Install dependencies
> yarn

# Run the tests
> yarn test

# Continuously compile
> yarn dev

# Continuously run the tests
> yarn dev-test

# Build for production (automatically called by npm install)
> yarn build
```

## Contributions

Contributions are *very* welcomed, either on the documentation or on
the code.

You may:

- report any [issue](https://github.com/vatesfr/xen-orchestra/issues)
  you've encountered;
- fork and create a pull request.

## License

ISC © [Vates SAS](https://vates.fr)

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