{"id":19157640,"url":"https://github.com/shybyte/copyright-header","last_synced_at":"2026-03-17T13:50:24.746Z","repository":{"id":32795376,"uuid":"142561651","full_name":"shybyte/copyright-header","owner":"shybyte","description":"Validate, add and update copyright headers automatically, based on the git history.","archived":false,"fork":false,"pushed_at":"2023-01-03T15:16:33.000Z","size":1896,"stargazers_count":11,"open_issues_count":16,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T12:54:35.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shybyte.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-27T10:08:36.000Z","updated_at":"2023-05-22T04:48:04.000Z","dependencies_parsed_at":"2023-01-14T22:15:25.319Z","dependency_job_id":null,"html_url":"https://github.com/shybyte/copyright-header","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Fcopyright-header","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Fcopyright-header/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Fcopyright-header/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shybyte%2Fcopyright-header/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shybyte","download_url":"https://codeload.github.com/shybyte/copyright-header/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252843492,"owners_count":21812891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T08:41:45.553Z","updated_at":"2026-03-17T13:50:24.713Z","avatar_url":"https://github.com/shybyte.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copyright-Header\n\n\n[![npm](https://img.shields.io/npm/v/copyright-header.svg)](https://www.npmjs.com/package/copyright-header)\n[![Build Status](https://travis-ci.org/shybyte/copyright-header.svg?branch=master)](https://travis-ci.org/shybyte/copyright-header)\n[![Maintainability](https://api.codeclimate.com/v1/badges/86720e1fb8a232106f13/maintainability)](https://codeclimate.com/github/shybyte/copyright-header/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/86720e1fb8a232106f13/test_coverage)](https://codeclimate.com/github/shybyte/copyright-header/test_coverage)\n[![codecov](https://codecov.io/gh/shybyte/copyright-header/branch/master/graph/badge.svg)](https://codecov.io/gh/shybyte/copyright-header)\n[![dependencies Status](https://david-dm.org/shybyte/copyright-header/status.svg)](https://david-dm.org/shybyte/copyright-header)\n\n\nValidate, add and update copyright headers automatically, based on the git history.\n\n\n## Installation\n\n[![NPM](https://nodei.co/npm/copyright-header.png)](https://www.npmjs.com/package/copyright-header)\n\nGlobal:\n\n    npm i -g copyright-header\n\nAs local devDependency:\n\n    npm i -D copyright-header\n\n# Usage Hints\n\n* Use it inside of a git repo.\n* It will only affect files tracked by git.\n\n## Usage Examples (assuming global installation)\n\nValidation:\n\n    copyright-header --copyrightHolder \"Darth Fader\" --include \"src\" --exclude \"src/cli.ts\"\n\nFixing:\n\n    copyright-header --fix --copyrightHolder \"Darth Fader\" --include \"src\" --exclude \"src/cli.ts\"\n\n\n# Options\n\n    Usage: copyright-header [options]\n\n    Options:\n\n      --copyrightHolder \u003cname\u003e        Copyright Holder\n      --fix                           adds or updates copyright header to files\n      --templateId \u003cid\u003e               minimal | apache | gplv3 (default: minimal)\n      -i, --include \u003cpaths\u003e           include regexp file filter (default: )\n      -e, --exclude \u003cpaths\u003e           exclude regexp file filter (default: )\n      --forceModificationYear \u003cyear\u003e  number | \"present\"\n      --excludeCommits \u003cpattern\u003e      ignores commits which message match this pattern\n      -V, --version                   output the version number\n      -h, --help                      output usage information\n\n\n\n## License\n\nMIT\n\n## Copyright\n\nCopyright (c) 2019 Marco Stahl\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshybyte%2Fcopyright-header","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshybyte%2Fcopyright-header","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshybyte%2Fcopyright-header/lists"}