{"id":19938064,"url":"https://github.com/dweinstein/json-stream-response","last_synced_at":"2025-10-26T18:41:06.627Z","repository":{"id":57285294,"uuid":"33638585","full_name":"dweinstein/json-stream-response","owner":"dweinstein","description":"send the HTTP application/json header and stream a HTTP json response","archived":false,"fork":false,"pushed_at":"2015-04-09T00:03:59.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T05:43:51.496Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dweinstein.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-04-08T23:53:43.000Z","updated_at":"2015-04-09T00:03:59.000Z","dependencies_parsed_at":"2022-09-08T21:42:49.400Z","dependency_job_id":null,"html_url":"https://github.com/dweinstein/json-stream-response","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/dweinstein%2Fjson-stream-response","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fjson-stream-response/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fjson-stream-response/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Fjson-stream-response/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dweinstein","download_url":"https://codeload.github.com/dweinstein/json-stream-response/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367132,"owners_count":19951440,"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-11-12T23:38:16.706Z","updated_at":"2025-10-26T18:41:01.582Z","avatar_url":"https://github.com/dweinstein.png","language":"JavaScript","readme":"# SYNOPSIS\n\nStream a JSON response from an http server. Useful for when restify doesn't\nsend a content-type by default when you send a JSON stream through it... this\ndoes.\n\n# USAGE\n\n```javascript\nvar jsr = require('json-stream-response');\n\nfunction requestHandler(req, res, next) {\n  // ...\n  var ws = jsr(res);\n  ws.write(bigJSONThing);\n  ws.write(bigJSON2);\n  ws.end();\n  res.on('finish', next);\n}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fjson-stream-response","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdweinstein%2Fjson-stream-response","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Fjson-stream-response/lists"}