{"id":17736680,"url":"https://github.com/parro-it/transform-spread-iterable","last_synced_at":"2025-03-14T14:30:52.871Z","repository":{"id":57379048,"uuid":"70235705","full_name":"parro-it/transform-spread-iterable","owner":"parro-it","description":"An iterable transform that spread each iterable received and emit its items","archived":false,"fork":false,"pushed_at":"2020-06-03T09:21:18.000Z","size":154,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-15T01:56:15.893Z","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/parro-it.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":"2016-10-07T10:07:37.000Z","updated_at":"2023-03-04T06:29:50.000Z","dependencies_parsed_at":"2022-09-02T20:41:16.987Z","dependency_job_id":null,"html_url":"https://github.com/parro-it/transform-spread-iterable","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Ftransform-spread-iterable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Ftransform-spread-iterable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Ftransform-spread-iterable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Ftransform-spread-iterable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parro-it","download_url":"https://codeload.github.com/parro-it/transform-spread-iterable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243593262,"owners_count":20316157,"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-26T00:24:02.322Z","updated_at":"2025-03-14T14:30:52.532Z","avatar_url":"https://github.com/parro-it.png","language":"JavaScript","readme":"# transform-spread-iterable\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/parro-it/transform-spread-iterable.svg)](https://greenkeeper.io/)\n\n\u003e An iterable transform that spread each iterable received and emit its items\n\nbackground details relevant to understanding what this module does\n\n## Usage\n\nLet's spread the `arr` array, each item of `arr` will became an item of resulting iterable:\n\n```js\nconst spread = require('transform-spread-iterable');\n\nconst arr = [1, 2, 3];\n\nfor (const item of spread([arr, 42, 43])) {\n\tconsole.log({item});\n}\n```\n\nThis will output\n\n```\n{item :1}\n{item :2}\n{item :3}\n{item :42}\n{item :43}\n```\n\n[![Travis Build Status](https://img.shields.io/travis/parro-it/transform-spread-iterable/master.svg)](http://travis-ci.org/parro-it/transform-spread-iterable)\n[![Code Climate](https://img.shields.io/codeclimate/github/parro-it/transform-spread-iterable.svg)](https://codeclimate.com/github/parro-it/transform-spread-iterable)\n[![Coverage Status](https://coveralls.io/repos/github/parro-it/transform-spread-iterable/badge.svg?branch=master)](https://coveralls.io/github/parro-it/transform-spread-iterable?branch=master)\n[![NPM downloads](https://img.shields.io/npm/dt/transform-spread-iterable.svg)](https://npmjs.org/package/transform-spread-iterable)\n\n\n## API\n\n```js\nconst spread = (iterable: Iterable): Iterable\n```\n\nGiven a source iterable, return an iterable with all source item that are iterable spreaded.\n\n## Install\n\nWith [npm](https://npmjs.org/) installed, run\n\n```\n$ npm install transform-spread-iterable\n```\n\n\n## See Also\n\n- [`noffle/common-readme`](https://github.com/noffle/common-readme)\n\n## License\n\nMIT\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Ftransform-spread-iterable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparro-it%2Ftransform-spread-iterable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Ftransform-spread-iterable/lists"}