{"id":16189303,"url":"https://github.com/caolan/pull-stream-concat","last_synced_at":"2025-04-07T13:51:11.094Z","repository":{"id":13256764,"uuid":"15941844","full_name":"caolan/pull-stream-concat","owner":"caolan","description":"Concatenates pull-streams","archived":false,"fork":false,"pushed_at":"2014-01-20T19:15:35.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T16:46:15.418Z","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/caolan.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":"2014-01-15T17:05:29.000Z","updated_at":"2014-01-20T19:15:35.000Z","dependencies_parsed_at":"2022-09-02T20:12:11.165Z","dependency_job_id":null,"html_url":"https://github.com/caolan/pull-stream-concat","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/caolan%2Fpull-stream-concat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caolan%2Fpull-stream-concat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caolan%2Fpull-stream-concat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caolan%2Fpull-stream-concat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caolan","download_url":"https://codeload.github.com/caolan/pull-stream-concat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666005,"owners_count":20975787,"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-10T07:35:00.452Z","updated_at":"2025-04-07T13:51:11.074Z","avatar_url":"https://github.com/caolan.png","language":"JavaScript","readme":"# pull-stream-concat\n\n**WARNING:** After writing this, I found\n[pull-cat](https://github.com/dominictarr/pull-cat) which does the same\nthing (but handles the case where the first stream errors properly). I'll\nbe using that library and I suggest you do the same. This code is left here\nto warn others searching npm for the same thing and for people curious to\nsee a slighty different approach to the same code.\n\n\nConcatenates multiple\n[pull-streams](https://github.com/dominictarr/pull-stream), returning a new\npull-stream:\n\n```javascript\nvar concat = require('pull-stream-concat');\n\nvar all = concat(\n    pull.values([1,2]),\n    pull.values([3,4]),\n    pull.values([5])\n);\n\nall.pipe(pull.collect(function (err, xs) {\n    // xs will be [1, 2, 3, 4, 5]\n});\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaolan%2Fpull-stream-concat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaolan%2Fpull-stream-concat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaolan%2Fpull-stream-concat/lists"}