{"id":19315358,"url":"https://github.com/thatisuday/file-checksum","last_synced_at":"2026-05-17T19:02:58.784Z","repository":{"id":35076854,"uuid":"204043990","full_name":"thatisuday/file-checksum","owner":"thatisuday","description":"A CLI tool to calculate the checksum of file's content using md5 or sha1 algorithms.","archived":false,"fork":false,"pushed_at":"2022-12-30T18:28:47.000Z","size":333,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T16:01:55.942Z","etag":null,"topics":["algorithm","checksum","cli","md5","node-cli","node-js","node-module","nodejs","sha1"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/thatisuday.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}},"created_at":"2019-08-23T17:41:06.000Z","updated_at":"2021-09-06T06:12:22.000Z","dependencies_parsed_at":"2023-01-15T13:20:36.030Z","dependency_job_id":null,"html_url":"https://github.com/thatisuday/file-checksum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatisuday%2Ffile-checksum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatisuday%2Ffile-checksum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatisuday%2Ffile-checksum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thatisuday%2Ffile-checksum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thatisuday","download_url":"https://codeload.github.com/thatisuday/file-checksum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240416992,"owners_count":19797920,"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":["algorithm","checksum","cli","md5","node-cli","node-js","node-module","nodejs","sha1"],"created_at":"2024-11-10T01:06:25.435Z","updated_at":"2026-05-17T19:02:58.695Z","avatar_url":"https://github.com/thatisuday.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Checksum CLI\nA CLI tool to calculate checksum of file's content using **md5** or **sha1** algorithms.\n\n[![build-status](https://img.shields.io/travis/thatisuday/file-checksum?style=flat-square)](https://travis-ci.org/thatisuday/file-checksum)\n[![npm-version](https://img.shields.io/npm/v/file-checksum?style=flat-square)](https://www.npmjs.com/package/file-checksum)\n[![dependencies](https://img.shields.io/david/thatisuday/file-checksum?style=flat-square)](https://www.npmjs.com/package/file-checksum)\n[![downloads](https://img.shields.io/npm/dt/file-checksum?style=flat-square)](https://www.npmjs.com/package/file-checksum)\n[![license](https://img.shields.io/npm/l/file-checksum?style=flat-square)](https://www.npmjs.com/package/file-checksum)\n\n![carbon](https://raw.githubusercontent.com/thatisuday/file-checksum/master/res/carbon.now.sh.png)\n\n## Installation\n```\n$ npm install -g file-checksum\n```\n\n## Help and Version\n```\n$ file-checksum -v\n1.0.4\n\n$ file-checksum --help\nCalculate checksum of a file.\n\nUsage: file-checksum \u003cfilepath\u003e [options]\n\nOptions:\n  -v, --version                Print current CLI version.\n  -a, --algorithm \u003calgorithm\u003e  Algorithm to be used for hashing (md5 or sha1) (default: \"md5\")\n  -h, --help                   output usage information\n```\n\n## Calculate Checksum\nOnce this package is installed globally, you can use `file-checksum` command.\n```\n$ file-checksum \u003cfilepath\u003e\n$ file-checksum \u003cfilepath\u003e -a sha1\n$ file-checksum \u003cfilepath\u003e --algorithm sha1\n```\n\u003e If `-a` or `--algorithm` flag is missing, by default **md5** algorithm is used.\n\n#### Example\n```\n$ file-checksum test/file.txt\n\n5e7c683623bdabaeae97f8157e80f85c\n```\n\n---\n\nTo create your own CLI tool using node.js, follow my article on [**Medium**](https://itnext.io/making-cli-app-with-ease-using-commander-js-and-inquirer-js-f3bbd52977ac).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatisuday%2Ffile-checksum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatisuday%2Ffile-checksum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatisuday%2Ffile-checksum/lists"}