# @talismn/util

> Non-UI helpers shared by the Talisman packages and apps

Latest version **2.1.0** (published 2026-10-02) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install @talismn/util
pnpm add @talismn/util
yarn add @talismn/util
bun add @talismn/util
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2026-10-02 |
| First published | 2021-08-11 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 3 |
| Unpacked size | 247.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 83 |
| Author | Talisman |
| Maintainers | 0xkheops, alectalisman |

## Links

- npm: https://www.npmjs.com/package/@talismn/util
- Repository: https://github.com/TalismanSociety/talisman
- Homepage: https://talisman.xyz
- npm.io page: https://npm.io/package/@talismn/util

## Dependencies (3)

- [rxjs](https://npm.io/package/rxjs.md) 7.8.2
- [lodash-es](https://npm.io/package/lodash-es.md) 4.18.1
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^11.1.5

## Recent versions

- 2.1.0 (latest) — 2026-10-02
- 0.0.0-pr2621-20261001155806 (pr2621) — 2026-10-01
- 0.0.0-pr2620-20261001124524 (pr2620) — 2026-10-01
- 0.0.0-pr2619-20261001085001 (pr2619) — 2026-10-01
- 0.0.0-pr2618-20261001023648 (pr2618) — 2026-10-01
- 0.0.0-pr2617-20261001022625 (pr2617) — 2026-10-01
- 0.0.0-pr2616-20261001020854 (pr2616) — 2026-10-01
- 0.0.0-pr2615-20261001012845 (pr2615) — 2026-10-01
- 0.0.0-pr2614-20260930080715 (pr2614) — 2026-09-30
- 0.0.0-pr2612-20260930010448 (pr2612) — 2026-09-30
- 0.0.0-pr2613-20260930004014 (pr2613) — 2026-09-30
- 0.0.0-pr2611-20260929075859 (pr2611) — 2026-09-29
- 0.0.0-pr2608-20260929044436 (pr2608) — 2026-09-29
- 0.0.0-pr2610-20260929041840 (pr2610) — 2026-09-29
- 0.0.0-pr2609-20260929025159 (pr2609) — 2026-09-29
- … 2858 more at https://npm.io/package/@talismn/util/versions

## README

# @talismn/util

Non-UI helpers shared by the Talisman packages and apps:

- amounts: `planckToTokens`, `tokensToPlanck`, `formatDecimals`, `formatPrice`, `BigMath`
- bytes and hex helpers
- RxJS helpers: `getSharedObservable`, `replaySubjectFrom`, `firstThenDebounce`
- async helpers: `sleep`, `throwAfter`, `Deferred`
- type guards (`isNotNil`, `isTruthy`, `isHexString`, ...)

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