{"id":17274166,"url":"https://github.com/davidthorn/http-js","last_synced_at":"2025-03-26T13:26:37.963Z","repository":{"id":122657842,"uuid":"158986417","full_name":"davidthorn/http-js","owner":"davidthorn","description":"A javascript module which assist with making XMLHttpRequests","archived":false,"fork":false,"pushed_at":"2018-11-25T04:03:52.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T14:47:47.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/davidthorn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-25T00:59:13.000Z","updated_at":"2018-11-25T04:03:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9a98625-0bef-43d6-b01b-1e6ba640899f","html_url":"https://github.com/davidthorn/http-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidthorn%2Fhttp-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidthorn%2Fhttp-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidthorn%2Fhttp-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidthorn%2Fhttp-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidthorn","download_url":"https://codeload.github.com/davidthorn/http-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245661475,"owners_count":20651873,"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-10-15T08:53:16.507Z","updated_at":"2025-03-26T13:26:37.940Z","avatar_url":"https://github.com/davidthorn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Http JS\n\nI wrote this library because I do not want to use jQuery or Angular for some simple tasks.\n\n## Usage\n\nIts usage is very simple and a lot like jQuery's http api.\n\n## GET Request\n\n```javascript\nhttp.get({\n    url: 'https://jsonplaceholder.typicode.com/posts',\n    method: 'GET',  // optional and implicit,\n    isJson: false, // only required if you want the response to be parse into JSON,\n    params: {} // Not required because I have not implemented the post api yet\n}, (res, statusCode) =\u003e {\n    console.log('completed')\n})\n\n```\n\n## JSON GET Request\n\n```javascript\nhttp.json({\n    url: 'https://jsonplaceholder.typicode.com/posts'\n}, (json, statusCode) =\u003e {\n    console.log('completed json response' , json)\n})\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidthorn%2Fhttp-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidthorn%2Fhttp-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidthorn%2Fhttp-js/lists"}