# @pie-framework/expression-parser

> A simple math parser/calculator

Latest version **1.4.0** (published 2018-03-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install @pie-framework/expression-parser
pnpm add @pie-framework/expression-parser
yarn add @pie-framework/expression-parser
bun add @pie-framework/expression-parser
```

## 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.4.0 |
| Published | 2018-03-08 |
| First published | 2018-03-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 254.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | ed.eustace |
| Keywords | math, calculator, grammar, parser, interpreter |

## Links

- npm: https://www.npmjs.com/package/@pie-framework/expression-parser
- Repository: https://github.com/pie-framework/expression-parser
- Homepage: https://github.com/pie-framework/expression-parser#readme
- Issues: https://github.com/pie-framework/expression-parser/issues
- npm.io page: https://npm.io/package/@pie-framework/expression-parser

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^3.1.0
- [chevrotain](https://npm.io/package/chevrotain.md) ^3.0.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.4.0 (latest) — 2018-03-08
- 1.3.1 — 2018-03-08
- 1.3.0 — 2018-03-08
- 1.2.0 — 2018-03-07
- 1.1.1 — 2018-03-07
- 1.1.0 — 2018-03-07

## README

# expression-parser

A simple math  expression parser/calculator.

```javascript
import {calculate} from '@pie-framework/expression-parser';

calculate('2 + log(10) * sin(22)').value // => 1.9911486907

```

## Install

```shell
npm install @pie-framework/expression-parser 
#or
yarn add @pie-framework/expression-parser 
```

---
_Source: https://npm.io/package/@pie-framework/expression-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
