# numenor

> Customizable, safe evaluator of JavaScript-like expressions.

Latest version **0.1.7** (published 2019-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install numenor
pnpm add numenor
yarn add numenor
bun add numenor
```

## 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.7 |
| Published | 2019-03-27 |
| First published | 2018-02-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 155.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Aleksandar Ružičić |
| Maintainers | raleksandar |
| Keywords | expression, math, evaluator, eval, safe, pratt, parser |

## Links

- npm: https://www.npmjs.com/package/numenor
- Repository: https://github.com/raleksandar/numenor
- Issues: https://github.com/raleksandar/numenor/issues
- npm.io page: https://npm.io/package/numenor

## Dependencies (1)

- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.4.0

## 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

- 0.1.7 (latest) — 2019-03-27
- 0.1.6 — 2018-07-12
- 0.1.5 — 2018-07-07
- 0.1.4 — 2018-03-31
- 0.1.3 — 2018-03-13
- 0.1.2 — 2018-03-13
- 0.1.1 — 2018-03-13
- 0.1.0 — 2018-03-11
- 0.0.10 — 2018-02-26
- 0.0.9 — 2018-02-26
- 0.0.8 — 2018-02-26
- 0.0.7 — 2018-02-23
- 0.0.6 — 2018-02-23
- 0.0.5 — 2018-02-20
- 0.0.4 — 2018-02-19
- … 3 more at https://npm.io/package/numenor/versions

## README

# numenor
[![npm version](https://badge.fury.io/js/numenor.svg)](https://badge.fury.io/js/numenor)

Customizable, safe evaluator of JavaScript-like expressions.

_**WARNING:** Still highly experimental, do not use in production!_

### Installing

Simply add `numenor` as a dependency via Yarn (or NPM):

```
yarn add numenor
```

Then import `ExpressionEvaluator` class in your code:

```
import { ExpressionEvaluator } from 'numenor';

const evaluator = new ExpressionEvaluator();

evaluator.evaluate('2 + 2 / 2'); // -> 3
```

### API

_TODO: WRITE ME_

## Versioning

This project uses [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/raleksandar/numenor/tags). 

## Is it any good?

 ~~Yes.~~ It will be...

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

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