{"id":19059228,"url":"https://github.com/h4l/json_seq","last_synced_at":"2026-05-05T18:36:38.917Z","repository":{"id":62422432,"uuid":"438171553","full_name":"h4l/json_seq","owner":"h4l","description":"Deno module for streams of individual JSON objects. RFC 7464 format. WHATWG Streams API.","archived":false,"fork":false,"pushed_at":"2022-02-22T17:44:20.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T01:18:22.699Z","etag":null,"topics":["deno","json","rfc7464","whatwg-streams"],"latest_commit_sha":null,"homepage":"","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/h4l.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-12-14T08:18:52.000Z","updated_at":"2022-02-18T08:50:18.000Z","dependencies_parsed_at":"2022-11-01T17:33:15.018Z","dependency_job_id":null,"html_url":"https://github.com/h4l/json_seq","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/h4l/json_seq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4l%2Fjson_seq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4l%2Fjson_seq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4l%2Fjson_seq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4l%2Fjson_seq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h4l","download_url":"https://codeload.github.com/h4l/json_seq/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4l%2Fjson_seq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32663422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deno","json","rfc7464","whatwg-streams"],"created_at":"2024-11-09T00:07:09.464Z","updated_at":"2026-05-05T18:36:38.901Z","avatar_url":"https://github.com/h4l.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json_seq\n\nA [Deno] module for working with streams of individual JSON objects, using the\njson-seq format described in [RFC 7464].\n\n[Deno]: https://deno.land/\n[RFC 7464]: https://datatracker.ietf.org/doc/html/rfc7464\n\n## Usage\n\n```ts\n// examples/print_stream_contents.ts\nimport { JsonSequenceDecoderStream } from \"https://deno.land/x/json_seq@v0.1.0/mod.ts\";\nimport { readableStreamFromReader } from \"https://deno.land/std@0.117.0/streams/conversion.ts\";\n\nconst jsonStream = readableStreamFromReader(Deno.stdin)\n  .pipeThrough(new JsonSequenceDecoderStream());\n\nfor await (const json of jsonStream) {\n  console.log(`JSON value: ${Deno.inspect(json)}`);\n}\n```\n\n```sh\n$ echo -e '\\x1E{\"message\": \"hi\"}\\n\\x1E{\"message\": \"bye\"}\\n' \\\n  | deno run examples/print_stream_contents.ts\nJSON value: { message: \"hi\" }\nJSON value: { message: \"bye\" }\n```\n\n## Roadmap\n\n- [x] Publish on deno.land\n- [ ] Implement stream encoding\n- [ ] Review the non-strict decoding behaviour and more closely follow the\n      lenient handling of malformed streams described in the RFC\n  - [ ] Maybe allow visibility of/control over malformed stream recovery actions\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to\ndiscuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4l%2Fjson_seq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh4l%2Fjson_seq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4l%2Fjson_seq/lists"}