Skip to content

seanc/cordlr-math

Repository files navigation

cordlr-math NPM version Build Status

Cordlr math plugin

Installation

$ npm install --save cordlr-math

Then add it to your config.

{
  "plugins": [
    "cordlr-math"
  ],
  "math": {
    "format": "Computed: {{answer}}" // How should the answer be formatted
  }
}

Usage

math [options] <equation>

It also supports variables, use them like so

math -a 1 -b 2 -- a + b

-- is necessary to tell cordlr-math where the equation starts and variable assignment ends.

License

MIT © Sean Wilson

About

Cordlr math plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published