This is the main repository that houses all the code examples from the lessons I have done on egghead.io around mostjs. Every lesson has its own branch that includes all the source code from the lesson, usually including additional bits to further expand on the topic at hand.
| Title | Egghead Lesson | Plunker | Branch |
|---|---|---|---|
| Create Streams From Single Values | video lesson | plunk | github |
| Create Streams From Iterables | video lesson | plunk | github |
These code examples run on a POSIX based system (Linux, OSX, etc) in a nodejs environment requiring a version greater than 4.2.x to be run. If you have to work in another environment, each lesson also has a "plunk" hosted on Plunker that can be run in browser.
All code examples and environments are provided on there own branch, named after the lesson it goes with. After pull this repository down, just checkout the branch you are interested in and run the following commands:
Different lessons may require different environments and dependencies. Some lessons are just run in node, while others run in the browser with a "poor man's build system". These lessons include an npm script to manage the dependencies for the specific lesson. To setup the lesson, execute this command in the lessons folder:
$ npm run setup
Once all dependencies have been pulled down, you can then run the examples with another npm script. How the results are viewed varies from lesson to lesson, so check each lesson's README.md to see how the results are viewed.
When running the examples, they will continue to run, listening to changes in your files. Once one of the files change, it will re-run/recompile script. When you are done playing with the code, you can quit the example with ctrl+c to get back to your prompt.
You can run the examples by calling the following:
$ npm start