{"id":17736729,"url":"https://github.com/parro-it/async-iterable-map","last_synced_at":"2025-03-31T19:17:20.722Z","repository":{"id":66074135,"uuid":"86747517","full_name":"parro-it/async-iterable-map","owner":"parro-it","description":"map for async iterables","archived":false,"fork":false,"pushed_at":"2017-03-31T07:43:24.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T00:06:07.320Z","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-30T20:49:55.000Z","updated_at":"2024-04-15T00:06:07.321Z","dependencies_parsed_at":null,"dependency_job_id":"1e4000b8-258f-4467-99d0-ef7c018e9192","html_url":"https://github.com/parro-it/async-iterable-map","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/parro-it%2Fasync-iterable-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fasync-iterable-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fasync-iterable-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Fasync-iterable-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parro-it","download_url":"https://codeload.github.com/parro-it/async-iterable-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523847,"owners_count":20791444,"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:12.157Z","updated_at":"2025-03-31T19:17:20.689Z","avatar_url":"https://github.com/parro-it.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# async-iterable-map\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/parro-it/async-iterable-map.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('async-iterable-map');\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/async-iterable-map/master.svg)](http://travis-ci.org/parro-it/async-iterable-map)\n[![NPM downloads](https://img.shields.io/npm/dt/async-iterable-map.svg)](https://npmjs.org/package/async-iterable-map)\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 async-iterable-map\n```\n\n\n## See Also\n\n- [`noffle/common-readme`](https://github.com/noffle/common-readme)\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fasync-iterable-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparro-it%2Fasync-iterable-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Fasync-iterable-map/lists"}