# @definitelytyped/header-parser

> This library parses package.jsons of [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) types. Its name is left over from when package information was stored in textual headers.

Latest version **0.2.30** (published 2026-07-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @definitelytyped/header-parser
pnpm add @definitelytyped/header-parser
yarn add @definitelytyped/header-parser
bun add @definitelytyped/header-parser
```

## Health

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

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

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

## Facts

| | |
|---|---|
| Version | 0.2.30 |
| Published | 2026-07-21 |
| First published | 2020-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=20.17.0 |
| Dependencies | 3 |
| Unpacked size | 45.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 423 |
| Author | Nathan Shively-Sanders |
| Maintainers | microsoft1es, andrewbranch, types, sanders_n, weswigham, definitelytyped-publisher, microsoft-oss-releases, jakebailey |

## Links

- npm: https://www.npmjs.com/package/@definitelytyped/header-parser
- Repository: https://github.com/microsoft/DefinitelyTyped-tools
- Homepage: https://github.com/microsoft/DefinitelyTyped-tools/tree/main/packages/header-parser#readme
- Issues: https://github.com/microsoft/DefinitelyTyped-tools/issues
- npm.io page: https://npm.io/package/@definitelytyped/header-parser

## Dependencies (3)

- [semver](https://npm.io/package/semver.md) ^7.7.4
- [@definitelytyped/utils](https://npm.io/package/@definitelytyped/utils.md) 0.1.15
- [@definitelytyped/typescript-versions](https://npm.io/package/@definitelytyped/typescript-versions.md) 0.1.12

## Recent versions

- 0.2.30 (latest) — 2026-07-21
- 0.0.172-next.0 (next) — 2023-08-30
- 0.2.29 — 2026-06-15
- 0.2.28 — 2026-05-08
- 0.2.27 — 2026-04-29
- 0.2.26 — 2026-03-25
- 0.2.25 — 2026-03-04
- 0.2.24 — 2026-02-17
- 0.2.23 — 2026-02-05
- 0.2.22 — 2026-02-02
- 0.2.21 — 2026-01-30
- 0.2.20 — 2025-08-01
- 0.2.19 — 2025-04-04
- 0.2.18 — 2025-03-31
- 0.2.17 — 2025-02-20
- … 233 more at https://npm.io/package/@definitelytyped/header-parser/versions

## README

# DefinitelyTyped Header Parser

This library parses package.jsons of [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) types.
Its name is left over from when package information was stored in textual headers.

# Contributing

To build: `pnpm run build`.
To test: `pnpm test`.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

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