{"id":17766614,"url":"https://github.com/floatdrop/get-iterable","last_synced_at":"2025-08-08T21:19:33.069Z","repository":{"id":57141505,"uuid":"45171298","full_name":"floatdrop/get-iterable","owner":"floatdrop","description":"Get a iterable as a array of items","archived":false,"fork":false,"pushed_at":"2016-03-04T15:48:17.000Z","size":128,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-03T16:17:09.932Z","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/floatdrop.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":"2015-10-29T08:53:56.000Z","updated_at":"2016-03-04T12:43:04.000Z","dependencies_parsed_at":"2022-09-05T08:50:49.283Z","dependency_job_id":null,"html_url":"https://github.com/floatdrop/get-iterable","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/floatdrop/get-iterable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fget-iterable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fget-iterable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fget-iterable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fget-iterable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floatdrop","download_url":"https://codeload.github.com/floatdrop/get-iterable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floatdrop%2Fget-iterable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262823374,"owners_count":23370225,"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-26T20:33:25.441Z","updated_at":"2025-07-09T13:08:11.952Z","avatar_url":"https://github.com/floatdrop.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-iterable [![Build Status](https://travis-ci.org/floatdrop/get-iterable.svg?branch=master)](https://travis-ci.org/floatdrop/get-iterable)\n\n\u003e Get a iterable as a array\n\nSee [`Array.from`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/from) for more.\n\n\n## Install\n\n```\n$ npm install --save get-iterable\n```\n\n\n## Usage\n\n```js\nconst getStream = require('get-iterable');\n\nfunction * generator() {\n\tyield 1;\n\tyield 2;\n\tyield 3;\n}\n\nconst arr = getIterable(generator());\nconsole.log(arr);\n\t/*\n\t[1,2,3]\n\t*/\n});\n```\n\n\n## API\n\n### getIterable(iterable)\n\nGet the iterable as a array.\n\n## Related\n\n- [get-stream](https://github.com/sindresorhus/get-stream) - Get stream as a string or buffer\n- [get-stdin](https://github.com/sindresorhus/get-stdin) - Get stdin as a string or buffer\n\n\n## License\n\nMIT © [Vsevolod Strukchisnky](http://github.com/floatdrop/get-iterable)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fget-iterable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloatdrop%2Fget-iterable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloatdrop%2Fget-iterable/lists"}