
[](https://www.npmjs.com/package/@ietf-tools/idnits)
[](https://github.com/ietf-tools/idnits)
[](https://github.com/ietf-tools/idnits/blob/v3/LICENSE)
##### CLI / Library to inspect Internet-Draft documents for a variety of conditions to conform with IETF policies.
> ⚠️ *This branch is for the new JS-based idnits3. For the older shell-based idnits2, [view the v2 branch](https://github.com/ietf-tools/idnits/tree/v2) instead.*
- [Installation](#installation)
- [CLI Usage](#cli-usage)
- [Library Usage](#library-usage)
- [Tests](#tests)
- [Development](#development)
- [Contributing](https://github.com/ietf-tools/.github/blob/main/CONTRIBUTING.md)
---
### Installation
1. Install [Node.js 20.x or later](https://nodejs.org/)
2. Install **idnits** using one of the methods:
#### Globally *(recommended)*
```sh
npm install -g @ietf-tools/idnits
```
#### In an existing npm project
```sh
npm install @ietf-tools/idnits
```
#### Without Installation
```sh
npx @ietf-tools/idnits