{"id":22210423,"url":"https://github.com/warningimhack3r/npm-stats-comparator","last_synced_at":"2025-07-19T08:13:08.500Z","repository":{"id":230982190,"uuid":"780649878","full_name":"WarningImHack3r/npm-stats-comparator","owner":"WarningImHack3r","description":"Compare a few statistics between two GitHub releases of an NPM package","archived":false,"fork":false,"pushed_at":"2025-05-31T21:55:40.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T09:02:31.230Z","etag":null,"topics":["github-releases","golang","npm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WarningImHack3r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-01T22:45:41.000Z","updated_at":"2025-05-31T21:55:16.000Z","dependencies_parsed_at":"2024-04-19T18:46:15.644Z","dependency_job_id":"dbd74fb4-acc9-4fa6-ae84-3d9e76290a70","html_url":"https://github.com/WarningImHack3r/npm-stats-comparator","commit_stats":null,"previous_names":["warningimhack3r/npm-stats-comparator"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarningImHack3r%2Fnpm-stats-comparator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarningImHack3r%2Fnpm-stats-comparator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarningImHack3r%2Fnpm-stats-comparator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarningImHack3r%2Fnpm-stats-comparator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WarningImHack3r","download_url":"https://codeload.github.com/WarningImHack3r/npm-stats-comparator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WarningImHack3r%2Fnpm-stats-comparator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259067282,"owners_count":22800302,"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":["github-releases","golang","npm"],"created_at":"2024-12-02T20:12:34.106Z","updated_at":"2025-06-10T11:34:05.000Z","avatar_url":"https://github.com/WarningImHack3r.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-stats-comparator\n\nCompare a few statistics between two GitHub releases of an NPM package. **For now, only the LOCs comparison is available.**  \nIncludes the intermediate releases between the two specified releases.\n\n_Inspired by [this tweet](https://twitter.com/denlukia/status/1772818790415225202) by [@denlukia](https://github.com/denlukia)._\n\n[![Demo](https://github.com/WarningImHack3r/npm-stats-comparator/assets/43064022/5e822a1d-3d1c-4e6e-b381-4751220cac59)](https://twitter.com/probably_coding/status/1774934048114164069)\n:---:\n*Demo (click the image to watch the video!)*\n\n## Usage\n\n```bash\n$ ./npm-stats-comparator --repo user/repo --from v1.0.0 --to v2.0.0\n```\n\nAvailable options:\n- `--repo`: The GitHub repository to compare the releases from.\n- `--token`: The GitHub token to use for the requests. _(Optional, defaults to none)_\n- `--from`: The base release to compare from.\n- `--to`: The release to compare to.\n- `--ignore`: A regex pattern to ignore tag names. _(Optional, defaults to none)_\n- `--output`: The output directory to download releases into. _(Optional, defaults to `./releases/`)_\n- `--remove`: Remove the downloaded releases after the comparison. _(Optional, defaults to `false`)_\n- `--help`: Display the help message.\n- `--version`: Display the version of the script.\n\n## Installation\n\nJust download the binary from the [Releases page](https://github.com/WarningImHack3r/npm-stats-comparator/releases)\nand you're good to Go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarningimhack3r%2Fnpm-stats-comparator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarningimhack3r%2Fnpm-stats-comparator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarningimhack3r%2Fnpm-stats-comparator/lists"}