# @mercurial-finance/token-math

> ⚒️ A library for token math.

Latest version **6.0.0** (published 2024-08-09) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2024-08-09 |
| First published | 2024-08-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 4 |
| Unpacked size | 259.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Ian Macalinao |
| Maintainers | namgoldraccoons, raccoons-bot, mcsam94, dicksonp, siong, zhengyutay |
| Keywords | uniswap, ethereum, token, ubeswap |

## Links

- npm: https://www.npmjs.com/package/@mercurial-finance/token-math
- Repository: https://github.com/Ubeswap/token-math
- Homepage: https://github.com/Ubeswap/token-math#readme
- Issues: https://github.com/Ubeswap/token-math/issues
- npm.io page: https://npm.io/package/@mercurial-finance/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-08-09

## 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/@mercurial-finance/token-math · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
