# @saberhq/token-utils

> Token-related math and transaction utilities for Solana.

Latest version **3.0.0** (published 2024-04-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @saberhq/token-utils
pnpm add @saberhq/token-utils
yarn add @saberhq/token-utils
bun add @saberhq/token-utils
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2024-04-12 |
| First published | 2021-06-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 434.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 143 |
| Author | Saber Team <team@saber.so> |
| Maintainers | simplyianm, shipcap |
| Keywords | solana, saber |

## Links

- npm: https://www.npmjs.com/package/@saberhq/token-utils
- Repository: git+https://github.com/saber-hq/saber-common.git
- Homepage: https://github.com/saber-hq/saber-common/tree/master/packages/token-utils#readme
- Issues: https://github.com/saber-hq/saber-common/issues
- Funding: https://www.coingecko.com/en/coins/saber
- npm.io page: https://npm.io/package/@saberhq/token-utils

## Dependencies (6)

- [tslib](https://npm.io/package/tslib.md) ^2.6.2
- [tiny-invariant](https://npm.io/package/tiny-invariant.md) ^1.3.3
- [@solana/spl-token](https://npm.io/package/@solana/spl-token.md) ^0.1.8
- [@ubeswap/token-math](https://npm.io/package/@ubeswap/token-math.md) ^6.0.0
- [@solana/buffer-layout](https://npm.io/package/@solana/buffer-layout.md) ^4.0.1
- [@saberhq/solana-contrib](https://npm.io/package/@saberhq/solana-contrib.md) ^3.0.0

## Recent versions

- 3.0.0 (latest) — 2024-04-12
- 2.0.0 — 2024-03-24
- 1.15.0 — 2023-11-30
- 1.14.11 — 2022-11-22
- 1.14.10 — 2022-11-14
- 1.14.9 — 2022-10-03
- 1.14.8 — 2022-09-28
- 1.14.7 — 2022-09-27
- 1.14.6 — 2022-09-13
- 1.14.5 — 2022-09-07
- 1.14.4 — 2022-08-25
- 1.14.3 — 2022-08-25
- 1.14.2 — 2022-08-21
- 1.14.1 — 2022-08-16
- 1.14.0 — 2022-08-10
- … 194 more at https://npm.io/package/@saberhq/token-utils/versions

## README

# `@saberhq/token-utils`

Math and utilities for SPL tokens.

## Documentation

Detailed information on how to build on Saber can be found on the [Saber developer documentation website](https://docs.saber.so/docs/developing/overview).

Automatically generated TypeScript documentation can be found [on GitHub pages](https://saber-hq.github.io/saber-common/).

## Installation

```
yarn add @saberhq/token-utils
```

## License

Apache 2.0

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