{"id":26954520,"url":"https://github.com/sondregj/aika","last_synced_at":"2026-04-10T22:32:21.425Z","repository":{"id":34298965,"uuid":"175451353","full_name":"sondregj/aika","owner":"sondregj","description":"🚚 Another tiny HTTP library for JavaScript","archived":false,"fork":false,"pushed_at":"2022-02-11T17:36:07.000Z","size":446,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T02:52:46.593Z","etag":null,"topics":["browser","http","https","node","typescript"],"latest_commit_sha":null,"homepage":"","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/sondregj.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":"2019-03-13T15:43:35.000Z","updated_at":"2019-11-08T13:12:48.000Z","dependencies_parsed_at":"2022-08-08T00:15:45.567Z","dependency_job_id":null,"html_url":"https://github.com/sondregj/aika","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Faika","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Faika/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Faika/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondregj%2Faika/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sondregj","download_url":"https://codeload.github.com/sondregj/aika/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922243,"owners_count":20855345,"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":["browser","http","https","node","typescript"],"created_at":"2025-04-03T02:17:59.733Z","updated_at":"2026-04-10T22:32:16.364Z","avatar_url":"https://github.com/sondregj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cspan style=\"font-size: 100px;\"\u003e🚚\u003c/span\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n  Aika\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA minimal, asynchronous HTTP client for Node.js\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/sondregj/aika\"\u003e\n    \u003cimg alt=\"Travis Build Status\" src=\"https://img.shields.io/travis/sondregj/aika.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://npmjs.com/aika\"\u003e\n  \t\u003cimg alt=\"npm (latest)\" src=\"https://img.shields.io/npm/v/aika/latest.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://npmjs.com/aika\"\u003e\n    \u003cimg alt=\"npm bundle size\" src=\"https://img.shields.io/bundlephobia/min/aika.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/sondregj/aika\"\u003e\n    \u003cimg alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/sondregj/aika.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"https://github.com/sondregj/aika\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/sondregj/aika.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \n  \u003ca href=\"https://github.com/carloscuesta/gitmoji\"\u003e\n  \u003cimg alt=\"Gitmoji\" src=\"https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n*This library is not feature complete yet.*\n\nEverything is asynchronous.\n\n## Progress\n\n- [x] Basic requests\n- [x] Bodies and querystrings\n- [x] Header Builder\n- [x] General middleware\n- [ ] Tests\n- [ ] Documentation\n\n## Usage\n\n*(Some features are planned and not implemented)*\n\n```javascript\nconst Aika = require('aika')\n\nconst aika = new Aika()\n\n// Middleware support (planned)\naika.use(headerBuilder)\n\n// Perform HTTP(S) requests\naika.host('google.com')\n    .get('/search', {q: 'horses'})\n    .then(res =\u003e console.log(res))\n    .catch(err =\u003e console.log(err))\n\n// Parse JSON response\naika.host('cat-fact.herokuapp.com')\n    .get('/facts')\n    .then(res =\u003e console.log(res.json()))\n    .catch(err =\u003e console.log(err))\n```\n\n## Middleware\n\nA middleware is any object that has a `middleware` function. The function should take a request object as its only parameter and return it after doing it's thing.\n\n## Development\n\nFirst, clone the repo, and do `npm install`.\n\nRun tests with `npm test`.\n\nRun linter with `npm run lint`\n\nDo not commit directly to master. Preferably, make a branch or fork out of the `development` branch and make a pull request.\n\n## License\n\nMIT © 2019 Sondre Gjellestad\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondregj%2Faika","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsondregj%2Faika","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondregj%2Faika/lists"}