# awesome-calculator

> ![](https://travis-ci.org/olyy111/awesome-calculator.svg?branch=master)

Latest version **2.0.0** (published 2019-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install awesome-calculator
pnpm add awesome-calculator
yarn add awesome-calculator
bun add awesome-calculator
```

## 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 | 2.0.0 |
| Published | 2019-07-27 |
| First published | 2017-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 105.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Liang Zhang |
| Maintainers | olyy111 |
| Keywords | calculator, accurate, Calculation, add, compute, calculate, plus, multiply |

## Links

- npm: https://www.npmjs.com/package/awesome-calculator
- Repository: https://github.com/olyy111/awesome-calculator
- Homepage: https://github.com/olyy111/awesome-calculator#readme
- Issues: https://github.com/olyy111/awesome-calculator/issues
- npm.io page: https://npm.io/package/awesome-calculator

## Recent versions

- 2.0.0 (latest) — 2019-07-27
- 1.1.5 — 2017-11-17
- 1.1.4 — 2017-11-17
- 1.0.4 — 2017-11-17
- 1.0.3 — 2017-11-17
- 1.0.2 — 2017-11-08
- 1.0.1 — 2017-11-06
- 1.0.0 — 2017-11-06

## README

# awesome calculator 

![](https://travis-ci.org/olyy111/awesome-calculator.svg?branch=master)

## introduce
this kit resolve some awful operating problem, like
"0.1 + 0.2" etc.

## warn
It is implemented with ES6, so you must use it in environment that support ES6 

## in node
```javascript
npm install awesome-calculator --save
var cal = require('awesome-calculator')
```

## in browser

```javascript
<script src="https://unpkg.com/awesome-calculator"></script>
```

## API

1. mul
multiplied  operating, you can pass number or string
```
var cal = require('awesome-calculator')
console.log(cal.mul('12.32', '7'))

```

2. plus
plus operating,  you can pass number or string
```
var cal = require('awesome-calculator')
console.log(cal.plus('0.1', '0.2'))
```

## License

[MIT](LICENSE)

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