# @ubeswap/token-math

> ⚒️ A library for token math.

Latest version **6.0.0** (published 2024-04-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ubeswap/token-math
pnpm add @ubeswap/token-math
yarn add @ubeswap/token-math
bun add @ubeswap/token-math
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2024-04-01 |
| First published | 2021-05-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 4 |
| Unpacked size | 257.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ian Macalinao <ian@ubeswap.org> |
| Maintainers | simplyianm, brianube |
| Keywords | uniswap, ethereum, token, ubeswap |

## Links

- npm: https://www.npmjs.com/package/@ubeswap/token-math
- Repository: https://github.com/Ubeswap/token-math.git
- npm.io page: https://npm.io/package/@ubeswap/token-math

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [big.js](https://npm.io/package/big.js.md) ^6.2.1
- [@types/big.js](https://npm.io/package/@types/big.js.md) ^6.2.2
- [tiny-invariant](https://npm.io/package/tiny-invariant.md) ^1.3.3

## Recent versions

- 6.0.0 (latest) — 2024-04-01
- 5.2.1 — 2022-09-13
- 5.2.0 — 2022-07-13
- 5.1.6 — 2022-06-05
- 5.1.5 — 2022-06-05
- 5.1.4 — 2022-06-05
- 5.1.3 — 2022-06-05
- 5.1.2 — 2022-06-02
- 5.1.1 — 2022-06-01
- 5.1.0 — 2022-05-29
- 5.0.2 — 2022-05-05
- 5.0.1 — 2022-05-05
- 5.0.0 — 2022-05-02
- 4.4.8 — 2022-05-02
- 4.4.7 — 2022-05-02
- … 26 more at https://npm.io/package/@ubeswap/token-math/versions

## README

# `@ubeswap/token-math`

[![Unit Tests](https://github.com/Ubeswap/token-math/workflows/Unit%20Tests/badge.svg)](https://github.com/Ubeswap/token-math/actions?query=workflow%3A%22Unit+Tests%22)
[![Lint](https://github.com/Ubeswap/token-math/workflows/Lint/badge.svg)](https://github.com/Ubeswap/token-math/actions?query=workflow%3ALint)
[![npm version](https://img.shields.io/npm/v/@ubeswap/token-math/latest.svg)](https://www.npmjs.com/package/@ubeswap/token-math/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@ubeswap/token-math/latest.svg)](https://bundlephobia.com/result?p=@ubeswap/token-math@latest)

Math utilities for handling currency and token amounts backed by integers.

## Local Development

```
yarn install
yarn prepare
yarn build
```

## License

MIT

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