ample

1.0.4 • Public • Published

Ample

A simple C style runtime that allows for safe evaluation of user-input expressions.

Usage

var Ample = require('ample');

var ample = new Ample();

ample.evaluate("1"); // -> 1

ample.evaluate("1 + 1"); // -> 2

ample.evaluate("1 / 2"); // -> 0.5

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.4
    2
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i ample

Weekly Downloads

2

Version

1.0.4

License

ISC

Last publish

Collaborators

  • korynunn