eslint-plugin-header
JSON →ESLint plugin to enforce that files begin with a specific comment block, commonly used for copyright notices. The current stable version is 3.1.1, released in 2022. It supports line and block comments, regular expressions for flexible matching, and custom newline counts after the header. Unlike manual checks, it integrates with ESLint's autofix and is suitable for large codebases requiring consistent licensing headers. The package requires eslint >=7.7.0.
Traffic · last 30 days ↓40% vs prev 7d
total hits 13
actors 5 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · AO · 🇩🇪 Germany
Resources
API endpoints
full doc /v1/registry/eslint-plugin-header
compatibility /v1/registry/eslint-plugin-header/compatibility