{"id":15696105,"url":"https://github.com/emschwartz/objecthash-js","last_synced_at":"2025-06-11T15:04:52.414Z","repository":{"id":57312878,"uuid":"81502304","full_name":"emschwartz/objecthash-js","owner":"emschwartz","description":"JS implementation of Ben Laurie's objecthash","archived":false,"fork":false,"pushed_at":"2017-02-09T23:16:32.000Z","size":11,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-05T21:41:52.044Z","etag":null,"topics":["hash","json","object-hash","objecthash","sha256"],"latest_commit_sha":null,"homepage":"https://github.com/benlaurie/objecthash","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/emschwartz.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":"2017-02-09T22:43:14.000Z","updated_at":"2019-07-26T08:09:28.000Z","dependencies_parsed_at":"2022-09-20T23:12:10.370Z","dependency_job_id":null,"html_url":"https://github.com/emschwartz/objecthash-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emschwartz%2Fobjecthash-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emschwartz%2Fobjecthash-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emschwartz%2Fobjecthash-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emschwartz%2Fobjecthash-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emschwartz","download_url":"https://codeload.github.com/emschwartz/objecthash-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emschwartz%2Fobjecthash-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259152782,"owners_count":22813226,"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":["hash","json","object-hash","objecthash","sha256"],"created_at":"2024-10-03T19:07:26.495Z","updated_at":"2025-06-11T15:04:52.371Z","avatar_url":"https://github.com/emschwartz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# objecthash\n\u003e Implementation of [Ben Laurie's objecthash](https://github.com/benlaurie/objecthash) in Javascript\n\n## Installation\n\n`npm install --save objecthash`\n\n## Usage\nTakes any JSON value and returns a `Buffer` with the SHA-256 `objecthash`, derived using Ben Laurie's algorithm.\n\n## A note on (the inconsistency of) numbers\n\nDifferent languages treat numbers parsed from JSON differently.\n\nJavascript treats both `1` and `1.0` as an integer, whereas Go parses all JSON numbers as 64-bit floating point numbers.\n\nIn an effort to maintain compatibility with the other implementations, this library treats all numbers as floats by default.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femschwartz%2Fobjecthash-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femschwartz%2Fobjecthash-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femschwartz%2Fobjecthash-js/lists"}