{"id":15013383,"url":"https://github.com/jankapunkt/meteor-http","last_synced_at":"2025-10-11T12:18:10.394Z","repository":{"id":42574937,"uuid":"308337546","full_name":"jankapunkt/meteor-http","owner":"jankapunkt","description":"Make HTTP calls to remote servers using fetch API. Fork of the core http package.","archived":false,"fork":false,"pushed_at":"2024-08-09T10:36:03.000Z","size":436,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T04:44:10.342Z","etag":null,"topics":["hacktoberfest","http","meteor","meteorjs","package"],"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/jankapunkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://paypal.me/kuesterjan"]}},"created_at":"2020-10-29T13:30:00.000Z","updated_at":"2024-01-23T09:50:14.000Z","dependencies_parsed_at":"2025-04-12T04:42:15.051Z","dependency_job_id":"ac9ec0ef-2bf6-4e93-a040-feaf35abf4ce","html_url":"https://github.com/jankapunkt/meteor-http","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jankapunkt/meteor-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankapunkt%2Fmeteor-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankapunkt%2Fmeteor-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankapunkt%2Fmeteor-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankapunkt%2Fmeteor-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jankapunkt","download_url":"https://codeload.github.com/jankapunkt/meteor-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jankapunkt%2Fmeteor-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007145,"owners_count":26084247,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","http","meteor","meteorjs","package"],"created_at":"2024-09-24T19:44:12.680Z","updated_at":"2025-10-11T12:18:10.363Z","avatar_url":"https://github.com/jankapunkt.png","language":"JavaScript","readme":"# jkuester:http\n\n[![Test suite](https://github.com/jankapunkt/meteor-http/actions/workflows/testsuite.yml/badge.svg)](https://github.com/jankapunkt/meteor-http/actions/workflows/testsuite.yml)\n[![CodeQL](https://github.com/jankapunkt/meteor-http/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/jankapunkt/meteor-http/actions/workflows/codeql-analysis.yml)\n[![built with Meteor](https://img.shields.io/badge/Meteor-package-green?logo=meteor\u0026logoColor=white)](https://atmospherejs.com/leaonline/oauth2-server)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n![GitHub](https://img.shields.io/github/license/jankapunkt/meteor-http)\n\nMeteor HTTP + EJSON + More\n\nThis is a maintained fork of the **deprecated Meteor `http` package**.\nOn the client it remains unchanged, while on the server it uses `node-fetch` \ninstead of `request`.\nIt (mostly) preserves the API of the original `HTTP` module.\n\n`HTTP` provides an HTTP request API on the client and server.  To use\nthese functions, add the HTTP package to your project with `$ meteor add http`.\n\nAdditionally it uses EJSON to parse responses, so you can send custom types via\nyour HTTP routes back to the client. \n\n## Installation and import\n\nYou can install this package via\n\n```bash\n$ meteor add jkuester:http\n```\n\nand import it into your code via\n\n```javascript\nimport { HTTP } from 'meteor/jkuester:http'\n```\n\n## Usage\n\nThe package preserves all the original API functionality, except \n`npmRequestOptions` (since `request` has been deprecated).\n\nThe API is documented in the [API.md](./API.md) file.\n\nIf you want to send custom types, you need to read about [how `ejson` works in\nMeteor](https://docs.meteor.com/api/ejson.html).\n\n## Contribution\n\nYour contributions are very welcomed. Please ensure to run tests via:\n\n```bash\n$ meteor test-packages ./ \n```\n\n\n## Testing\n\nWe use mocha with `meteortesting:mocha` to run the tests. \nWe also provide a local test project (which is not shipped with the package).\n\nIn order to setup the tests you need to change into the test project and install\nthe test dependencies: \n\n```bash\n$ cd tests \u0026\u0026 meteor npm install\n```\n\nYou can then leverage some of it's npm scripts to test code:\n\n```bash\n$ meteor npm run lint:code     # run linter in check mode\n$ meteor npm run lint:code-fix # run linter and autofix issues\n$ meteor npm run test          # run test once\n$ meteor npm run test:watch    # run tests in watch mode\n```\n\n\n## Changelog\n\n- **2.3.0**\n  - AbortController is not used by default to comply with original API.\n    If a value greater than -1 is given as timeout then AbortController will\n    be called after that timeout.\n- **2.2.0**\n  - Add `HTTP.debug` to API to allow debugging of unsensitive internals\n- **2.1.0**\n  - Added `AbortController` implementation until we get Node \u003e= 16\n  - Refactored tests to use `meteortesting:mocha`\n  - added bare `tests/` project\n  - use standard linter; code is now standard linted\n  - added EJSON tests\n  - added static file serving tests\n- **2.0.1**\n  - replaced `JSON.stringify` and `JSON.parse` with `EJSON`\n- **2.0.0**\n  - ported original `http` package and replaced `request` with `fetch`\n\n## License\n\nThe original package is part of the Meteor core, which is MIT licensed. There\nis no intention to alter the license so this package preserves the original\nMIT license.\n","funding_links":["https://paypal.me/kuesterjan"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankapunkt%2Fmeteor-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjankapunkt%2Fmeteor-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjankapunkt%2Fmeteor-http/lists"}