{"id":15497373,"url":"https://github.com/heapwolf/through2-join","last_synced_at":"2025-04-22T21:43:26.296Z","repository":{"id":25290670,"uuid":"28716698","full_name":"heapwolf/through2-join","owner":"heapwolf","description":"Produce a stream of intersecting data of two or more delimited json streams","archived":false,"fork":false,"pushed_at":"2015-01-02T15:39:35.000Z","size":124,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T19:11:09.271Z","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/heapwolf.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":"2015-01-02T15:12:13.000Z","updated_at":"2017-09-25T14:22:48.000Z","dependencies_parsed_at":"2022-08-24T00:21:11.947Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/through2-join","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/heapwolf%2Fthrough2-join","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fthrough2-join/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fthrough2-join/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fthrough2-join/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/through2-join/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250330319,"owners_count":21412963,"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-02T08:33:14.432Z","updated_at":"2025-04-22T21:43:26.278Z","avatar_url":"https://github.com/heapwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\nProduce a stream of intersecting data from two or more delimited json streams.\n\n# EXAMPLE\n```js\nvar join = require('through2-join');\nvar fs = require('fs');\n\nvar s1 = fs.createReadStream('./1.json');\nvar s2 = fs.createReadStream('./2.json');\nvar s3 = fs.createReadStream('./3.json');\n\njoin(function(chunk, enc, cb) {\n\n  if (chunk.number \u003e 50) {\n    cb(null, chunk);\n  }\n  else {\n    cb();\n  }\n\n}).on(s1, s2, s3).pipe(process.stdout);\n```\n\nWithout a through transform might be useful too.\n```js\njoin().on(s1, s2, s3).pipe(process.stdout);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fthrough2-join","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Fthrough2-join","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fthrough2-join/lists"}