# @commitlint/read

> Read commit messages from a specified range or last edit

Latest version **21.2.1** (published 2026-07-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @commitlint/read
pnpm add @commitlint/read
yarn add @commitlint/read
bun add @commitlint/read
```

## Health

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

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 21.2.1 |
| Published | 2026-07-08 |
| First published | 2018-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.12.0 |
| Dependencies | 4 |
| Unpacked size | 15.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18733 |
| Author | Mario Nebl |
| Maintainers | marionebl, martinhelmut, escapedcat, bycedric |
| Keywords | commitlint, conventional-changelog, core, library |

## Links

- npm: https://www.npmjs.com/package/@commitlint/read
- Repository: https://github.com/conventional-changelog/commitlint
- Homepage: https://commitlint.js.org/
- Issues: https://github.com/conventional-changelog/commitlint/issues
- npm.io page: https://npm.io/package/@commitlint/read

## Dependencies (4)

- [tinyexec](https://npm.io/package/tinyexec.md) ^1.0.0
- [@commitlint/types](https://npm.io/package/@commitlint/types.md) ^21.2.0
- [@commitlint/top-level](https://npm.io/package/@commitlint/top-level.md) ^21.2.0
- [@conventional-changelog/git-client](https://npm.io/package/@conventional-changelog/git-client.md) ^3.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 21.2.1 (latest) — 2026-07-08
- 21.2.0 — 2026-06-30
- 21.1.0 — 2026-06-23
- 21.0.2 — 2026-05-29
- 21.0.1 — 2026-05-12
- 21.0.0 — 2026-05-08
- 20.5.0 — 2026-03-15
- 20.4.4 — 2026-03-12
- 20.4.3 — 2026-03-03
- 20.4.0 — 2026-01-30
- 20.3.1 — 2026-01-08
- 20.2.0 — 2025-12-05
- 20.0.0 — 2025-09-25
- 19.8.1 — 2025-05-08
- 19.8.0 — 2025-03-07
- … 58 more at https://npm.io/package/@commitlint/read/versions

## README

# @commitlint/read

Read commit messages from a specified range or last edit

## Getting started

```shell
npm install --save @commitlint/read
```

## Documentation

Consult [API docs](https://commitlint.js.org/api/read) for comprehensive documentation.

Documentation generated from [`docs` folder](../../docs/api/read.md).

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