Examples from a talk about Node.js Async Iterators
This talk has been delivered in the following events:
- Finding a lost song with Node.js & async iterators (Node.js Dublin Meetup) - Slides
- Finding a lost song with Node.js & async iterators (Sailsconf) - Slides Video
- Finding a lost song with Node.js & async iterators (EnterJS) - Slides
- Finding a lost song with Node.js & async iterators (NodeConf Remote) - Slides
NOTE: You will need at least Node.js 16 to run some of the examples in this repository.
Install dependencies with:
Last.fm API key
Some examples requires you to have a Last.fm API key. You can request one here.
Once you have an API key you can export it as an environment variable:
All examples are available in the
You can run them with
node. For instance:
Complete last.fm history package
For a more "serious" library to fetch data from Last.fm check out
Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.
Licensed under MIT License. © Luciano Mammino.
If you like this piece of work, consider supporting me by getting a copy of Node.js Design Patterns, Third Edition, which also goes into great depth about Streams and related design patterns.
If 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