Socket
Socket
Sign inDemoInstall

numenor

Package Overview
Dependencies
61
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    numenor

Customizable, safe evaluator of JavaScript-like expressions.


Version published
Weekly downloads
960
decreased by-54.87%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

numenor

npm version

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 for versioning. For the versions available, see the tags on this repository.

Is it any good?

Yes. It will be...

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

FAQs

Last updated on 27 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc