# @stoplight/prism-core

> This package contains base abstract interfaces. Generally, you do not want to look at this repository, as there's nothing more than philosophycal reasonments that aren't exactly that pragmatic.

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

## Install

```sh
npm install @stoplight/prism-core
pnpm add @stoplight/prism-core
yarn add @stoplight/prism-core
bun add @stoplight/prism-core
```

## Health

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

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.16.0 |
| Published | 2026-07-17 |
| First published | 2019-02-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=24.18.0 |
| Dependencies | 5 |
| Unpacked size | 19.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5068 |
| Author | Stoplight |
| Maintainers | stoplight-devops, mrunkle-sb, smartbear_devops |

## Links

- npm: https://www.npmjs.com/package/@stoplight/prism-core
- Repository: https://github.com/stoplightio/prism
- Homepage: https://github.com/stoplightio/prism#readme
- Issues: https://github.com/stoplightio/prism/issues
- npm.io page: https://npm.io/package/@stoplight/prism-core

## Dependencies (5)

- [pino](https://npm.io/package/pino.md) ^6.13.3
- [fp-ts](https://npm.io/package/fp-ts.md) ^2.11.5
- [tslib](https://npm.io/package/tslib.md) ^2.3.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [@scarf/scarf](https://npm.io/package/@scarf/scarf.md) ^1.4.0

## Recent versions

- 5.16.0 (latest) — 2026-07-17
- 5.8.0-beta (beta) — 2026-03-11
- 5.15.11 — 2026-06-03
- 5.15.10 — 2026-04-20
- 5.15.9 — 2026-04-17
- 5.15.8 — 2026-04-17
- 5.15.7 — 2026-04-17
- 5.8.0 — 2024-04-29
- 5.6.0 — 2024-03-19
- 5.5.4 — 2024-02-02
- 5.5.3 — 2024-01-12
- 5.5.2 — 2023-12-01
- 5.5.1 — 2023-10-30
- 5.5.0 — 2023-10-23
- 5.4.0 — 2023-10-09
- … 187 more at https://npm.io/package/@stoplight/prism-core/versions

## README

# Prism Core

This package contains base abstract interfaces. Generally, you do not want to look at this repository, as there's nothing more than philosophycal reasonments that aren't exactly that pragmatic.

## Anonymized analytics

Prism uses [Scarf](https://scarf.sh/) to collect [anonymized installation analytics](https://github.com/scarf-sh/scarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-what-information-does-scarf-js-send-about-me). These analytics help support the maintainers of this library and ONLY run during installation. To [opt out](https://github.com/scarf-sh/scarf-js?tab=readme-ov-file#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics), you can set the `scarfSettings.enabled` field to `false` in your project's `package.json`:

```
// package.json
{
  // ...
  "scarfSettings": {
    "enabled": false
  }
  // ...
}
```

Alternatively, you can set the environment variable `SCARF_ANALYTICS` to `false` as part of the environment that installs your npm packages, e.g., `SCARF_ANALYTICS=false npm install`.

<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=d703ffa4-a736-40cc-a994-9116c1e7e4d8&page=README.md" />

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