Categories
Development

JavaScript30 – Day 19

In today’s lesson, I learned how to pipe webcam input and manipulate the stream on the fly. In comparison to the other lessons, this lesson required the use of npm. The final code can be found on Day 19 – Webcam Fun.

Resources:

Categories
Development Education

30 Days of Node.js – Day 8

I cannot believe it, I’ve just published my first npm package. Today’s lesson was about how to publish npm module.

The biggest lesson I learned today is that publishing npm packages it very easy and straightforward. I’ve also learned that I should run extensive testing before publishing the npm package. As you can tell on the version number of my module, I haven’t quite followed that approach initially. Nevertheless, I’m happy that my first package is available for the npm community and today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2008%20-%20Publishing%20package%20on%20NPM.

References:

Categories
Education

30 Days of Node.js – Day 7

As mentioned in an earlier post, reinventing the wheel is rather unproductive. That’s why npm (Node Package Manager) is bundled with Node.js. In today’s lesson, I’ve learned how to install and update npm itself as well as latest packages, exact versions of packages or package versions within a semantic range. The code snippets are not JavaScript files, but should be run inside a terminal directly. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2007%20-%20All%20about%20NPM.

References: