# @snag-run/core

> Snag Map deterministic core — failure-map/v1 schema + severity/anchor/lint/reconcile. Browser-safe (zod only).

Latest version **0.4.0** (published 2026-07-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @snag-run/core
pnpm add @snag-run/core
yarn add @snag-run/core
bun add @snag-run/core
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2026-07-08 |
| First published | 2026-07-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20 |
| Dependencies | 1 |
| Unpacked size | 140.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David Taing |
| Maintainers | teeang |

## Links

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

## Dependencies (1)

- [zod](https://npm.io/package/zod.md) ^4.4.3

## Recent versions

- 0.4.0 (latest) — 2026-07-08
- 0.3.0 — 2026-07-06

## README

# @snag-run/core

Snag Map deterministic core — the `failure-map/v1` Zod schema plus the pure map
machinery (severity banding, source-anchor normalization, lint, and
embedding-free reconciliation). Browser-safe by construction (zod only, no Node
built-ins), so both [`@snag-run/cli`](https://www.npmjs.com/package/@snag-run/cli)
and the browser renderer depend on it directly.

> Status: pre-v1.0.0 — early release. The map schema may change before `1.0`.

Part of [snag](https://snag.run) — see [snag.run/docs](https://snag.run/docs) for
the full documentation and a live demo.

## Install

```sh
npm install @snag-run/core
```

## License

Apache-2.0 © David Taing. See [LICENSE](./LICENSE).

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