calcucli

Calculator REPL running on calculy.

Usage no npm install needed!

<script type="module">
  import calcucli from 'https://cdn.skypack.dev/calcucli';
</script>

README

pipeline status

Calcucli

Calculator REPL running on calculy.

Install

npm install -g calcucli

Use

calc
> 1+2
3
> (1-2)*3
-3
> ans+6
3
> (3+3(
Unexpected token "undefined", expected a number, parenthesis, function or constant.
> |cos(pi)-sin(pi/2)|^2
4

For all the math syntax and functions available check the documentation on calculy:

https://www.npmjs.com/package/calculy

User interface

Also powered by calculy is the beautiful and powerful Calculory web calculator.

https://calculory.netlify.app/