1.0.3 • Published 1 year ago

vire_cal v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

calculator

  1. install the the basic package
  2. use redline command and configure is methods
  3. configure the best way to download the package

Install

 npm install vire_cal
 cd vire_cal
 npm start

or

npm install -g vire_cal
node-calc

API

When starting calculator, it starts a node repl with all of the following properties set as properties of the GLOBAL object. All Math properties are replaced with Math.(prop) so you can write var f = func('f(x) = sin(x)') instead of var f = func('f(x) = Math.sin(x)')

func

const sum = (a, b) => a + b;

const minus = (a, b) => a + b;

const multiply = (a, b) => a + b;

const divide = (a, b) => a + b;

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago