DrMerfy / streams-workshop

A workshop on Node.js Streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

streams-workshop

A workshop on Node.js Streams by Luciano Mammino (@loige). ๐Ÿค“

Prerequisites

Before getting started, make sure you have the following prerequisites in your system:

  • Node.js 12.3+
  • NPM 6.9.0+
  • A recent version of Google Chrome
  • a text editor of your choice
  • a bash-compatible shell (if you use Windows you can install bash or use Docker, as described below)

Getting started

Clone the repository and run npm install to get all the necessary dependencies.

The workshop is divided in chapters and the first chapter starts at 01-buffer-vs-stream.

Every chapter will teach you a specific stream concept and offer you some examples and exercises to familiarize with that concept.

You will often find 2 different types of interactive actions:

  • ๐ŸŽญ PLAY : commands or instructions you should spend some time with to get familiar with some concepts or APIs
  • ๐Ÿน 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.

Enjoy! ๐Ÿ™ƒ

โžก๏ธ GET STARTED.

Using Docker

If you prefer to keep your environment clean and use Docker, you should be able to spin un a workable environment with Docker Compose by running:

docker-compose run workspace

If you use Docker, npm install is automatically run for you every time you launch the container.

Shameless self plug ๐Ÿ˜‡

If you like this piece of work, consider supporting me by getting a copy of Node.js Design Patterns, Second Edition, which also goes into great depth about Streams and related design patterns.

Node.js Design Patterns, Second Edition by Mario Casciaro and Luciano Mammino

Buy on Amazon.com - Amazon.co.uk - Packtpub - O'Reilly

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.

Contributing

In the spirit of Open Source, 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 or by submitting a PR.

License

Licensed under MIT License. ยฉ Luciano Mammino.

About

A workshop on Node.js Streams

License:MIT License


Languages

Language:JavaScript 98.0%Language:HTML 1.1%Language:Dockerfile 1.0%