# max-expressions

> Super friendly, human readable expressions

Latest version **1.0.0** (published 2018-09-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install max-expressions
pnpm add max-expressions
yarn add max-expressions
bun add max-expressions
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-09-23 |
| First published | 2018-09-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 111.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Max White |
| Maintainers | mushishi78 |
| Keywords | human readable, friendly, expression |

## Links

- npm: https://www.npmjs.com/package/max-expressions
- Repository: https://github.com/mushishi78/max-expressions
- Homepage: https://github.com/mushishi78/max-expressions#readme
- Issues: https://github.com/mushishi78/max-expressions/issues
- npm.io page: https://npm.io/package/max-expressions

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-09-23

## README

# max-expressions

Super friendly, human readable boolean expressions

## Installation

```
yarn add -D max-expressions
```

## Usage

```JavaScript
import { parse } from 'max-expressions'

let expr = parse('x is 5 and y is more than 20')
expr.evaluate({ x: 5, y: 25 }) // true
expr.evaluate({ x: 7, y: 30 }) // false

expr = parse('#giraffe is James or #giraffe is Peter')
expr.evaluate({ '#giraffe': 'James' }) // true
```

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