cordlr-math
v0.1.1
Published
Cordlr math plugin
Downloads
5
Readme
cordlr-math
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