# @theobaidur/math-cli

> Small javascript utility to do maths from cli

Latest version **1.0.2** (published 2022-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @theobaidur/math-cli
pnpm add @theobaidur/math-cli
yarn add @theobaidur/math-cli
bun add @theobaidur/math-cli
```

Provides the command `math`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-06-09 |
| First published | 2022-06-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | theobaidur |
| Keywords | math, cli, javascript, calculator |

## Links

- npm: https://www.npmjs.com/package/@theobaidur/math-cli
- Repository: https://github.com/theobaidur/math-cli
- Issues: https://github.com/theobaidur/math-cli/issues
- npm.io page: https://npm.io/package/@theobaidur/math-cli

## Dependencies (1)

- [math-expression-evaluator](https://npm.io/package/math-expression-evaluator.md) ^1.3.14

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-06-09
- 1.0.1 — 2022-06-09
- 1.0.0 — 2022-06-09

## README

# Math CLI

A simple cli to evaluate math expressions, based on famous [math-expression-evaluator](http://bugwheels94.github.io/math-expression-evaluator)

## Usage

Install the package globally, simply by running `npm install -g @theobaidur/math-cli`

Once installed,

- type `math '<YOUR-EXPRESSION>'` and press enter to see the result.
- type `math --version` or `math -v` to check current version
- type `math --help` or `math -h` to get more info

Examples:

```
math 10+2 // simple expression, we can skip single/double quote
// 10+2 = 12

math sin90 // simple expression, we can skip single/double quote
// sin90 = 1

math "10+sin90+(4*2)" // complex expression, we need single/double quote
// 10+sin90+(4*2) = 19

math --version
// @theobaidur/math-cli v1.0.1

math --help
// @theobaidur/math-cli v1.0.1
// Small javascript utility to do maths from cli
// visit https://github.com/theobaidur/math-cli for more info
// Usage:
        math <expression> - Evaluates the expression
        math --version, -v - Prints the version
        math --help, -h - For more information
```

The supported expressions/symbols can be found at [math-expression-evaluator](http://bugwheels94.github.io/math-expression-evaluator)'s [math-expression-evaluator](https://github.com/bugwheels94/math-expression-evaluator#supported-symbols)

---
_Source: https://npm.io/package/@theobaidur/math-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
