{"id":16193446,"url":"https://github.com/pyramation/etag-hash","last_synced_at":"2025-03-19T04:30:39.509Z","repository":{"id":57230674,"uuid":"153057228","full_name":"pyramation/etag-hash","owner":"pyramation","description":"Es6 class that generates ETag using the same algorithm as S3 via MD5 sum.","archived":false,"fork":false,"pushed_at":"2020-10-01T00:22:00.000Z","size":11,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T02:03:51.404Z","etag":null,"topics":["es6","etag","hash","md5","minio","node-module","npm","s3"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pyramation.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-15T05:23:02.000Z","updated_at":"2022-03-04T03:19:15.000Z","dependencies_parsed_at":"2022-09-10T06:21:09.578Z","dependency_job_id":null,"html_url":"https://github.com/pyramation/etag-hash","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/pyramation%2Fetag-hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fetag-hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fetag-hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyramation%2Fetag-hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyramation","download_url":"https://codeload.github.com/pyramation/etag-hash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243968493,"owners_count":20376405,"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":["es6","etag","hash","md5","minio","node-module","npm","s3"],"created_at":"2024-10-10T08:14:54.472Z","updated_at":"2025-03-19T04:30:39.241Z","avatar_url":"https://github.com/pyramation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETag Hash ![Build Status](https://travis-ci.org/pyramation/etag-hash.svg?branch=master)\n\nEs6 class that generates ETag using the same algorithm as S3 via MD5 sum.\n\nUseful for verifying Amazon S3 multi-part uploads.\n\n## Installation\n\n```sh\nnpm install etag-hash\n```\n\n## Usage\n\n```js\nconst createHash = require('etag-hash').createHash;\nconst etag = createHash().update(contents).digest();\n```\n\nETags compatible with s3, API similar to the crypto module to be compatible with streams. Thanks to the author of [this post](https://stackoverflow.com/questions/12186993/what-is-the-algorithm-to-compute-the-amazon-s3-etag-for-a-file-larger-than-5gb#answer-19896823) for the breakdown of the algorithm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fetag-hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyramation%2Fetag-hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyramation%2Fetag-hash/lists"}