readme-gauge
lint README quality
Lint READMEs for missing sections, broken and stale badges, stale install commands, missing usage examples, broken relative links and anchors, placeholders and license mismatches.
- 15/week on npm
- 2★
- MIT
- v1.1.1
- Developer Tooling
npx readme-gaugeRead the full README on GitHub (opens in a new tab)View on npm (opens in a new tab)
readme-gauge
From the README
readme-gauge reads your README the way a new user does. It flags what is missing or wrong: no install or usage section, a usage section without a code example, an install command for a package that was renamed (npm i acme-widget when the package is acme-widgets), a pinned old major, a Travis badge for a service that shut down in 2021, an npm badge for a different package, a workflow badge pointing at a file that no longer exists, relative links and #anchors that go nowhere, placeholder text (TODO, lorem ipsum), and a License section that disagrees with package.json. Every finding has a…
npx readme-gauge # lint ./README.md against ./package.json
npx readme-gauge packages/core --fail-on medium
npx readme-gauge --require install,usage,api,license,contributing
npx readme-gauge --check-links # also fetch external links and badgesRelated packages
Developer Tooling
- commit-gauge
lint Conventional Commits
- engines-gauge
align Node engine ranges
- hallume-cli
Hallume command-line tool
- monorepo-gauge
check workspace hygiene