{"id":16482477,"url":"https://github.com/f/restafarian","last_synced_at":"2026-03-06T04:35:55.648Z","repository":{"id":140370701,"uuid":"45980531","full_name":"f/restafarian","owner":"f","description":"Node.js Restful Client","archived":false,"fork":false,"pushed_at":"2015-11-11T14:17:06.000Z","size":0,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T22:41:27.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/f.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":"2015-11-11T12:31:07.000Z","updated_at":"2016-02-21T14:04:03.000Z","dependencies_parsed_at":"2023-03-13T17:31:35.065Z","dependency_job_id":null,"html_url":"https://github.com/f/restafarian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/f/restafarian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Frestafarian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Frestafarian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Frestafarian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Frestafarian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f","download_url":"https://codeload.github.com/f/restafarian/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f%2Frestafarian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30161875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:22:03.816Z","status":"ssl_error","status_checked_at":"2026-03-06T04:22:00.183Z","response_time":250,"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":[],"created_at":"2024-10-11T13:10:55.677Z","updated_at":"2026-03-06T04:35:55.629Z","avatar_url":"https://github.com/f.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restafarian\nNode.js Restful Client in ES6\n\n## Installation\n\n```\nnpm install restafarian --save\n```\n\n## Proposal\n\n```js\nimport {Client} from 'restafarian';\n\nconst {get, post, request} = new Client('http://api.example.com/v1');\n\nclass Users {\n\n  @get('/users')\n  getUsers(data) {\n    return request(data);\n  }\n  \n  @get('/users/:id')\n  getUser(data) {\n    // {url: \"users/1\", data: {name: \"fatih\"}}\n    return request(data);\n  }\n  \n  @post('/users')\n  createUser(data) {\n    return request(data);\n  }\n}\n\nvar users = new Users();\nvar user = users.getUser({id: 1, name: \"fatih\"}).then(() =\u003e {});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Frestafarian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff%2Frestafarian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff%2Frestafarian/lists"}