copyright-header
Advanced tools
Weekly downloads
Readme
Validate, add and update copyright headers automatically, based on the git history.
Global:
npm i -g copyright-header
As local devDependency:
npm i -D copyright-header
Validation:
copyright-header --copyrightHolder "Darth Fader" --include "src" --exclude "src/cli.ts"
Fixing:
copyright-header --fix --copyrightHolder "Darth Fader" --include "src" --exclude "src/cli.ts"
Usage: copyright-header [options]
Options:
--copyrightHolder <name> Copyright Holder
--fix adds or updates copyright header to files
--templateId <id> minimal | apache (default: minimal)
-i, --include <paths> include regexp file filter (default: )
-e, --exclude <paths> exclude regexp file filter (default: )
--forceModificationYear <year> number | "present"
--excludeCommits <pattern> ignores commits which message match this pattern
-V, --version output the version number
-h, --help output usage information
MIT
Copyright (c) 2019 Marco Stahl
FAQs
Validate, add and update copyright headers automatically, based on the git history.
The npm package copyright-header receives a total of 700 weekly downloads. As such, copyright-header popularity was classified as not popular.
We found that copyright-header demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.