https://github.com/miguelzacca/calc
Simple command line calc with Node.js and mathjs.
https://github.com/miguelzacca/calc
Last synced: about 2 months ago
JSON representation
Simple command line calc with Node.js and mathjs.
- Host: GitHub
- URL: https://github.com/miguelzacca/calc
- Owner: miguelzacca
- License: mit
- Created: 2024-06-01T23:16:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-01T23:45:26.000Z (about 1 year ago)
- Last Synced: 2025-02-15T17:41:23.191Z (4 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# calc
Simple command line calc with Node.js and mathjs.
## Install - Linux
```bash
git clone https://github.com/miguelzacca/calc.git
cd ~/calc
npm ci
chmod +x config.sh src/index.js
./config.sh
cd ~/
```## Install - Windows
```bash
git clone https://github.com/miguelzacca/calc.git
cd %HOMEPATH%/calc
npm ci
config.bat
cd %HOMEPATH%
```## Use
```bash
calc
```## Example
```bash
calc 10+9*(2/3)-87
```output:
```txt
-71
```