{"id":13632549,"url":"https://github.com/badgateway/ketting","last_synced_at":"2026-04-02T17:59:57.575Z","repository":{"id":37951071,"uuid":"77564834","full_name":"badgateway/ketting","owner":"badgateway","description":"The HATEOAS client for javascript","archived":false,"fork":false,"pushed_at":"2026-03-31T23:59:01.000Z","size":3689,"stargazers_count":571,"open_issues_count":27,"forks_count":33,"subscribers_count":15,"default_branch":"main","last_synced_at":"2026-03-31T23:59:29.910Z","etag":null,"topics":["hacktoberfest","hal","hateoas","hateoas-hal","http","hypermedia-client","javascript","rest"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/ketting","language":"TypeScript","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/badgateway.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"evert"}},"created_at":"2016-12-28T22:21:52.000Z","updated_at":"2026-03-31T21:23:51.000Z","dependencies_parsed_at":"2025-04-18T02:38:52.775Z","dependency_job_id":"10635922-4224-492b-b15c-85804e9d5bee","html_url":"https://github.com/badgateway/ketting","commit_stats":{"total_commits":821,"total_committers":23,"mean_commits":35.69565217391305,"dds":0.1352009744214373,"last_synced_commit":"0295166f6d1f233bd7477d4d22fd3340a07dcd2b"},"previous_names":["evert/ketting","evert/restl"],"tags_count":117,"template":false,"template_full_name":null,"purl":"pkg:github/badgateway/ketting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgateway%2Fketting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgateway%2Fketting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgateway%2Fketting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgateway%2Fketting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/badgateway","download_url":"https://codeload.github.com/badgateway/ketting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/badgateway%2Fketting/sbom","scorecard":{"id":222875,"data":{"date":"2025-08-11","repo":{"name":"github.com/badgateway/ketting","commit":"6269669149b7c846c18a1fc1bc185b56aa1b1e39"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 2/9 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":7,"reason":"5 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/npm-publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/badgateway/ketting/test.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-jgmv-j7ww-jx2x"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T02:59:57.822Z","repository_id":37951071,"created_at":"2025-08-17T02:59:57.822Z","updated_at":"2025-08-17T02:59:57.822Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hacktoberfest","hal","hateoas","hateoas-hal","http","hypermedia-client","javascript","rest"],"created_at":"2024-08-01T22:03:06.576Z","updated_at":"2026-04-02T17:59:57.536Z","avatar_url":"https://github.com/badgateway.png","language":"TypeScript","funding_links":["https://github.com/sponsors/evert"],"categories":["TypeScript"],"sub_categories":[],"readme":"![Logo][4] Ketting - The HATEOAS client for javascript\n=======================================================\n\nCheck out the [Wiki][9] for full documentation.\n\nIntroduction\n------------\n\nThe Ketting library is a generic REST client with Hypermedia features.\n\nThe library will work with any JSON-based HTTP API, but it gets superpowers\nwhen using it with formats that have support for links, including:\n\n* [HAL][hal] + [HAL Forms][hal-forms]\n* [JSON:API][jsonapi]\n* [Siren][siren],\n* [Collection+JSON][coljson]\n* [application/problem+json][problem] - Will extract useful information from\n  the standard problem object and embed them in exception objects.\n\n\nAnd it even works with HTML links, and [HTTP Link Headers][1].\n\nKetting is designed to both work in the browser and in Node.js. Additionally,\nit has [react bindings][react-ketting] that will make it work in a way that's\nfamiliar to Apollo-Client users.\n\n### Example\n\n```typescript\nconst ketting = new Ketting('https://api.example.org/');\n\n// Follow a link with rel=\"author\". This could be a HTML5 `\u003clink\u003e`, a\n// HAL `_links` or a HTTP `Link:`.\nconst author = await ketting.follow('author');\n\n// Grab the current state\nconst authorState = await author.get();\n\n// Change the firstName property of the object. Note that this assumes JSON.\nauthorState.data.firstName = 'Evert';\n\n// Save the new state\nawait author.put(authorState);\n```\n\nDocs\n----\n\n* [Installation][7]\n* [Full documentation][9]\n* [Authentication][2]\n\n\nNotable Features\n----------------\n\nKetting is a library that sits on top of [Fetch API][3] to provide a RESTful\ninterface and make it easier to follow REST best practices more strictly.\n\nIt provides some useful abstractions that make it easier to work with true\nhypermedia / HATEOAS servers. It currently parses many hypermedia formats\nand has a deep understanding of links and embedded resources. There's also\nsupport for parsing and following links from HTML documents, and it\nunderstands the HTTP `Link:` header.\n\nIt also has support for 'fetch middlewares', which is used to implement\nOAuth2 support, but also opens the door to development of other plugins.\n\nUsing this library it becomes very easy to follow links from a single bookmark,\nand discover resources and features on the server.\n\nRead further on the [Wiki][9]\n\n\n[1]: https://tools.ietf.org/html/rfc8288 \"Web Linking\"\n[2]: https://github.com/evert/ketting/wiki/Authentication\n[3]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API\n\n[4]: https://raw.githubusercontent.com/badgateway/ketting/master/logo.png\n\n[7]: https://github.com/evert/ketting/wiki/Installation\n[8]: https://github.com/evert/ketting/wiki/Getting-Started\n[9]: https://github.com/evert/ketting/wiki/\n\n[hal]: http://stateless.co/hal_specification.html \"HAL - Hypertext Application Language\"\n[hal-forms]: https://rwcbook.github.io/hal-forms/ \"The HAL-FORMS Media Type\"\n[jsonapi]: https://jsonapi.org/\n[problem]: https://tools.ietf.org/html/rfc7807\n[siren]: https://github.com/kevinswiber/siren \"Structured Interface for Representing Entities\"\n[coljson]: http://amundsen.com/media-types/collection/format/\n[prefer-push]: https://tools.ietf.org/html/draft-pot-prefer-push\n[prefer-transclude]: https://github.com/inadarei/draft-prefer-transclude/blob/master/draft.md\n[react-ketting]: https://github.com/badgateway/react-ketting\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadgateway%2Fketting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbadgateway%2Fketting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbadgateway%2Fketting/lists"}