{"id":20181738,"url":"https://github.com/nichoth/multihash","last_synced_at":"2025-07-12T21:35:09.755Z","repository":{"id":77400107,"uuid":"504615027","full_name":"nichoth/multihash","owner":"nichoth","description":"Create hashes in browsers","archived":false,"fork":false,"pushed_at":"2025-02-11T00:30:54.000Z","size":938,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T06:22:13.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nichoth.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}},"created_at":"2022-06-17T17:11:03.000Z","updated_at":"2025-02-11T00:30:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f94c87e-0a87-4656-ae18-acce8562d6b3","html_url":"https://github.com/nichoth/multihash","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fmultihash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fmultihash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fmultihash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nichoth%2Fmultihash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nichoth","download_url":"https://codeload.github.com/nichoth/multihash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161274,"owners_count":21057555,"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-14T02:36:36.772Z","updated_at":"2025-04-10T05:10:19.073Z","avatar_url":"https://github.com/nichoth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# multihash\n\nCreate path \u0026 URL safe hashes of files. Suitable for use in a browser.\n\nInspired by [ssbc/multiblob](https://github.com/ssbc/multiblob), but this\ndeals only with a `blob -\u003e filename` interface, not storage of blobs.\n\n## install\n\n```\nnpm i -S @nichoth/multihash\n```\n\n## example\n\n```js\nconst fs = require('fs')\nconst { getHash } = require('@nichoth/multihash')\n\nconst pic = fs.readFileSync(__dirname + '/cinnamon-roll.jpg')\nconst hashName = getHash(pic)\nconsole.log('hash name', hashName)\n// =\u003e     hash name 1e8d57856d9da786cd24b66b624bab64fc65521aab9270ff52efe70e9f8a9cc8\n```\n\n--------------------------------------\n\n## bundle size\n\n```\ntotal 16\n-rw-r--r--   1 nick  staff   469B Jan 10 17:39 index.cjs\n-rw-r--r--   1 nick  staff   576B Jan 10 17:39 index.mjs\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Fmultihash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnichoth%2Fmultihash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnichoth%2Fmultihash/lists"}