# @istanbuljs/schema

> Schemas describing various structures used by nyc and istanbuljs

Latest version **0.1.6** (published 2026-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @istanbuljs/schema
pnpm add @istanbuljs/schema
yarn add @istanbuljs/schema
bun add @istanbuljs/schema
```

## Health

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

Positive: no vulnerabilities; has provenance.

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

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2026-04-13 |
| First published | 2019-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 17.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3 |
| Author | Corey Farrell |
| Maintainers | coreyfarrell, bcoe, jakxz, gotwarlost, oss-bot |

## Links

- npm: https://www.npmjs.com/package/@istanbuljs/schema
- Repository: https://github.com/istanbuljs/schema
- Homepage: https://github.com/istanbuljs/schema#readme
- Issues: https://github.com/istanbuljs/schema/issues
- npm.io page: https://npm.io/package/@istanbuljs/schema

## Recent versions

- 0.1.6 (latest) — 2026-04-13
- 0.1.5 — 2026-04-13
- 0.1.3 — 2021-02-13
- 0.1.2 — 2019-12-05
- 0.1.1 — 2019-10-07
- 0.1.0 — 2019-10-05

## README

# @istanbuljs/schema

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![MIT][license-image]](LICENSE)

Schemas describing various structures used by nyc and istanbuljs

## Usage

```js
const {nyc} = require('@istanbuljs/schema').defaults;

console.log(`Default exclude list:\n\t* ${nyc.exclude.join('\n\t* ')}`);
```

## Testing

- **Runtime support**: See `engines.node` in `package.json` (currently `>=8`).
- **Running tests**: Requires **Node.js >=22.3.0** (uses `node:test` snapshot testing via `t.assert.snapshot`).

```bash
npm test
```

To update snapshots:

```bash
npm run test:update-snapshots
```

## `@istanbuljs/schema` for enterprise

Available as part of the Tidelift Subscription.

The maintainers of `@istanbuljs/schema` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-istanbuljs-schema?utm_source=npm-istanbuljs-schema&utm_medium=referral&utm_campaign=enterprise)

[npm-image]: https://img.shields.io/npm/v/@istanbuljs/schema.svg
[npm-url]: https://npmjs.org/package/@istanbuljs/schema
[downloads-image]: https://img.shields.io/npm/dm/@istanbuljs/schema.svg
[downloads-url]: https://npmjs.org/package/@istanbuljs/schema
[license-image]: https://img.shields.io/npm/l/@istanbuljs/schema.svg

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