# @vueuse/math

> Math functions for VueUse

Latest version **15.0.0** (published 2026-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vueuse/math
pnpm add @vueuse/math
yarn add @vueuse/math
bun add @vueuse/math
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 15.0.0 |
| Published | 2026-09-16 |
| First published | 2022-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22 |
| Dependencies | 1 |
| Unpacked size | 23.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 22353 |
| Author | Anthony Fu <https://github.com/antfu> |
| Maintainers | vueuse-bot |
| Keywords | vue, vue-use, math, utils |

## Links

- npm: https://www.npmjs.com/package/@vueuse/math
- Repository: https://github.com/vueuse/vueuse
- Homepage: https://github.com/vueuse/vueuse/tree/main/packages/math#readme
- Issues: https://github.com/vueuse/vueuse/issues
- Funding: https://github.com/sponsors/antfu
- npm.io page: https://npm.io/package/@vueuse/math

## Dependencies (1)

- [@vueuse/shared](https://npm.io/package/@vueuse/shared.md) 15.0.0

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 15.0.0 (latest) — 2026-09-16
- 14.0.0-beta.1 (beta) — 2025-09-19
- 14.0.0-alpha.3 (alpha) — 2025-09-16
- 14.4.0 — 2026-07-29
- 14.3.0 — 2026-05-01
- 14.2.1 — 2026-02-10
- 14.2.0 — 2026-01-31
- 14.1.0 — 2025-11-27
- 14.0.0 — 2025-10-22
- 14.0.0-alpha.2 — 2025-09-12
- 14.0.0-alpha.1 — 2025-09-01
- 14.0.0-alpha.0 — 2025-09-01
- 13.9.0 — 2025-09-01
- 13.8.0 — 2025-08-27
- 13.7.0 — 2025-08-18
- … 85 more at https://npm.io/package/@vueuse/math/versions

## README

# @vueuse/math

[![NPM version](https://img.shields.io/npm/v/@vueuse/math?color=a1b858)](https://www.npmjs.com/package/@vueuse/math)

> This is an extension of [VueUse](https://github.com/vueuse/vueuse), enables math usage for composable functions.

## Install

```bash
npm i @vueuse/math @vueuse/core
```

## License

[MIT License](https://github.com/vueuse/vueuse/blob/master/LICENSE) © 2019-PRESENT [Anthony Fu](https://github.com/antfu)

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