{"id":15621599,"url":"https://github.com/macdja38/stream-resume","last_synced_at":"2025-04-12T21:12:56.368Z","repository":{"id":57148938,"uuid":"85100640","full_name":"macdja38/stream-resume","owner":"macdja38","description":"http.get but with resuming for streams.","archived":false,"fork":false,"pushed_at":"2017-07-03T08:21:40.000Z","size":14,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T21:12:51.475Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macdja38.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":"2017-03-15T17:18:36.000Z","updated_at":"2021-07-21T02:20:57.000Z","dependencies_parsed_at":"2022-08-31T23:50:51.319Z","dependency_job_id":null,"html_url":"https://github.com/macdja38/stream-resume","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/macdja38%2Fstream-resume","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fstream-resume/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fstream-resume/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macdja38%2Fstream-resume/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macdja38","download_url":"https://codeload.github.com/macdja38/stream-resume/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631681,"owners_count":21136562,"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-03T09:51:16.330Z","updated_at":"2025-04-12T21:12:56.344Z","avatar_url":"https://github.com/macdja38.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stream-resume\nhttps.get but with resuming for streams.\n\nModule does not yet support http or any request verbs other than get,\nadding support for those would not be difficult and pull requests are welcome.\n\nBy default it only recovers from ECONNRESET, with a max tries of 3. to increase the tries:\n\n```js\nlet https = require(\"stream-resume\");\nhttps.get({\n  maxRetries: 3,\n})\n```\n\nURL's will have to be parsed with url.parse() before the maxRetries can be modified.\n\nBecause of the way the library abstracts over the ClientRequest object at the moment actions to the client request will\nnot properly carry through to the current request.\n\nIncludes unit testing for the RebindableEventEmitter class. Run the test with `npm run test`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Fstream-resume","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacdja38%2Fstream-resume","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacdja38%2Fstream-resume/lists"}