Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erzhtor/algebroid

String math expression calculator
https://github.com/erzhtor/algebroid

architecture infixtopostfix-expression javascript lerna math-expressions monorepo monorepository postfix-calculator

Last synced: about 1 month ago
JSON representation

String math expression calculator

Awesome Lists containing this project

README

        

# Algebroid
JavaScript library + tools for calculating math expressions from string

### Prerequisites
- Node.js version 8 or above
- [Lerna](https://github.com/lerna/lerna) installed globally (`npm i -g lerna`)

## Get Started
The repository consist of:
- [`@algebroid/core`](packages/core): library for parsing and calculating math expression from string
- [`@algebroid/cli`](apps/cli): command line interface to calculate math expressions from string
- [`@algebroid/frontend`](apps/frontend): web UI to calculate math expressions from string

> **Note:** for detailed information on each package click on the name of the package above.
### Clone
`git clone https://github.com/erzhtor/algebroid`

### Install dependencies
`lerna bootstrap`

### Run
- **Frontend**
`npm start --prefix apps/frontend`
- **CLI (comand line interface)**
`npm start --prefix apps/cli -- "{your expression}"`