# @math-blocks/core

> A collection of utility functions and types used in most of the other packages.

Latest version **0.0.13** (published 2026-11-19) · 0 weekly downloads

## Install

```sh
npm install @math-blocks/core
pnpm add @math-blocks/core
yarn add @math-blocks/core
bun add @math-blocks/core
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.13 |
| Published | 2026-11-19 |
| First published | 2021-09-13 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Maintainers | kevinbarabash |

## Links

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

## Recent versions

- 0.0.13 (latest) — 2026-11-19
- 0.0.12 — 2024-12-27
- 0.0.11 — 2024-12-14
- 0.0.10 — 2024-11-01
- 0.0.9 — 2024-10-23
- 0.0.8 — 2024-10-14
- 0.0.7 — 2024-10-14
- 0.0.6 — 2024-10-14
- 0.0.5 — 2021-10-18
- 0.0.4 — 2021-10-18
- 0.0.3 — 2021-09-13
- 0.0.2 — 2021-09-13

## README

# @math-blocks/core

A collection of utility functions and types used in most of the other packages.

## Exports

- `getId`: function that returns unique, ascending, integer identifiers
- `UnreachableCaseError`: used for exhaustiveness checks in `switch` statements.

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