{"id":25217346,"url":"https://github.com/valtech-ch/hateoas-parser","last_synced_at":"2025-04-05T09:22:21.676Z","repository":{"id":57118642,"uuid":"175027536","full_name":"valtech-ch/hateoas-parser","owner":"valtech-ch","description":"Javascript HATEOAS parser","archived":false,"fork":false,"pushed_at":"2019-05-07T14:41:51.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-02-10T20:13:31.731Z","etag":null,"topics":["hateoas","hateoas-client","javascript","javascript-library"],"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/valtech-ch.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-03-11T15:18:27.000Z","updated_at":"2019-12-10T16:34:22.000Z","dependencies_parsed_at":"2022-08-23T05:21:13.872Z","dependency_job_id":null,"html_url":"https://github.com/valtech-ch/hateoas-parser","commit_stats":null,"previous_names":["infocentric/hateoas-parser"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-ch%2Fhateoas-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-ch%2Fhateoas-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-ch%2Fhateoas-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valtech-ch%2Fhateoas-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valtech-ch","download_url":"https://codeload.github.com/valtech-ch/hateoas-parser/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247313254,"owners_count":20918599,"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":["hateoas","hateoas-client","javascript","javascript-library"],"created_at":"2025-02-10T20:13:32.975Z","updated_at":"2025-04-05T09:22:21.639Z","avatar_url":"https://github.com/valtech-ch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hateoas-parser\nJavascript HATEOAS parser\n\n![](badges/badge-lines.svg \"Yes, indeed !\")\n![](badges/badge-branches.svg \"Yes, indeed !\")\n![](badges/badge-functions.svg \"Yes, indeed !\")\n![](badges/badge-statements.svg \"Yes, indeed !\")\n\n### API\n\nThis library exposes 4 methods.\n\n`getEndpoint(index, rel, params, version)`\n\nPick the \"rel\" endpoint from the \"index\" dictionary and resolve it with the provided \"params\" and \"version\". \n\n`parseLinks(result)`\n\nSimple function to convert a raw HATEOAS index result to a more usable key-value Hash\n\n`parseUrl(url, params)`\n\nDoes the same as getEndpoint() but with a URL without solving the index-rel-version puzzle before. parseUrl() is internally called by getEndpoint().\n\n`getCleanEndpoint(index, rel)`\n\nFormat an endpoint by simply removing all optional or required paramaters in the querystring\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaltech-ch%2Fhateoas-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaltech-ch%2Fhateoas-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaltech-ch%2Fhateoas-parser/lists"}