eslint-plugin-license-header weekly downloads statistics
By nikku · npm · ESLint plugins
Validates the presence of a license header
eslint-plugin-license-header has 95,601 recorded weekly downloads on npm, a decrease of 6.0% over the past 30 days, ranking #645 of 3,247 tracked listings.
About eslint-plugin-license-header
eslint-plugin-license-header
Rules to validate the presence of license headers in source files.
Installation
npm install eslint-plugin-license-header --save-dev
Usage
Add license-header to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"license-header"
]
}
Header configuration
When enabling the rule specify the license header template as a path:
{
"rules": {
"license-header/header": [ "error", "./resources/license-header.js" ]
}
}
Alternatively, specify the license header as raw text:
{
"rules": {
"license-header/header": [
"error",
[
"/***********************************************",
" * Copyright My Company",
" * Copyright " + new Date().getFullYear(),
" ***********************************************/",
]
]
}
}
Flat config
In eslint@9 you can consume the library using a flat configuration, too:
import licenseHeader from "eslint-plugin-license-header";
export default [
{
files: '**/*.js',
plugins: {
'license-header': licenseHeader
},
rules: {
"license-header/header": ...
}
}
];
Autofix
You may auto-fix your source files, adding or updating a given license header:
eslint --fix .
Supported rules
license-header/header: checks a source file for the presence of a license header
License
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (170)Similar npm ESLint plugins plugins
All 20 eslint-plugin-license-header alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-license-header. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.