{"id":15637038,"url":"https://github.com/lmammino/iteration-protocols-workshop","last_synced_at":"2026-02-23T00:35:43.811Z","repository":{"id":38813834,"uuid":"487843350","full_name":"lmammino/iteration-protocols-workshop","owner":"lmammino","description":"A FREE and open-source workshop about JavaScript iteration protocols: iterator, iterable, async iterator, async iterable","archived":false,"fork":false,"pushed_at":"2022-10-04T13:12:27.000Z","size":2510,"stargazers_count":112,"open_issues_count":0,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-14T13:11:59.056Z","etag":null,"topics":["iterable","iterators","javascript","node","nodejs","protocols","tests","tutorial","workshop"],"latest_commit_sha":null,"homepage":"https://nodejsdesignpatterns.com","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/lmammino.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":"2022-05-02T12:52:02.000Z","updated_at":"2025-02-11T15:51:40.000Z","dependencies_parsed_at":"2023-01-19T05:15:51.736Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/iteration-protocols-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lmammino/iteration-protocols-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fiteration-protocols-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fiteration-protocols-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fiteration-protocols-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fiteration-protocols-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/iteration-protocols-workshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fiteration-protocols-workshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29733119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["iterable","iterators","javascript","node","nodejs","protocols","tests","tutorial","workshop"],"created_at":"2024-10-03T11:09:42.563Z","updated_at":"2026-02-23T00:35:43.779Z","avatar_url":"https://github.com/lmammino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Iteration protocol workshop\n\n[![Node.js CI](https://github.com/lmammino/iteration-protocols-workshop/actions/workflows/node.js.yml/badge.svg)](https://github.com/lmammino/iteration-protocols-workshop/actions/workflows/node.js.yml)\n\nA workshop about JavaScript iteration protocols: iterator, iterable, async iterator, async iterable by [@loige](https://twitter.com/loige). 😎\n\n\u003e I also have a workshop about [Node.js Streams](https://github.com/lmammino/streams-workshop).\n\n\n## Prerequisites\n\nBefore getting started, make sure you have the following installed:\n\n- Node.js 16+\n- NPM 8+\n- A text editor of your choice\n- A bash-compatible shell\n\n\n## Getting started\n\nClone the repository and run `npm install` to get all the necessary dependencies.\n\nThe workshop is divided in chapters and the first chapter starts at [01-intro](/01-intro/README.md).\n\nEvery chapter will teach you a specific iteration concept and offer you some examples and exercises to familiarize with that concept.\n\nYou will often find 2 different types of interactive actions:\n\n  - 🎭 **PLAY** : commands or instructions you should spend some time with to get familiar with some concepts or APIs\n\n  - 🏹 **Exercise**: when you have to use some of the concepts you just learned to solve a programming problem. Generally every exercise will have a test that you can run to validate your solution.\n\nEnjoy! 🙃\n\n[➡️ GET STARTED](/01-intro/README.md).\n\n\n## Shameless plug 😇\n\n\u003ca href=\"https://www.nodejsdesignpatterns.com\"\u003e\u003cimg width=\"240\" align=\"right\" src=\"https://github.com/lmammino/lmammino/blob/master/nodejsdp.jpg?raw=true\"\u003e\u003c/a\u003e\n\nIf you like this piece of work, consider supporting me by getting a copy of [Node.js Design Patterns, Third Edition](https://www.nodejsdesignpatterns.com/), which also goes into great depth about generators, iterator protocols, streams and related design patterns.\n\nIf you already have this book, **please consider writing a review** on Amazon, Packt, GoodReads or in any other review channel that you generally use. That would support us greatly 🙏.\n\n\n## Contributing\n\nIn the spirit of Open Source, everyone is very welcome to contribute to this project.\nYou can contribute just by submitting bugs or suggesting improvements by\n[opening an issue on GitHub](https://github.com/lmammino/iteration-protocols-workshop/issues) or by [submitting a PR](https://github.com/lmammino/iteration-protocols-workshop/pulls).\n\n\n## License\n\nLicensed under [MIT License](LICENSE). © Luciano Mammino.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fiteration-protocols-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Fiteration-protocols-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fiteration-protocols-workshop/lists"}