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 […]
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 […]
Day 4 of the 30 Days of Node.js challenge was about the console object and its different methods. Until now, I was only using console.log(…) to display data in the console. Today, I’ve learned that by using console.log(…), console.info(…), console.warn(…) and console.error(…) I can control how the error message will appear within the browser’s console. […]
Today’s lesson was about regular expressions. I do have to admit that regular expressions are definitely one of my weaknesses. Every time I think “Yes, now I got it!” and run a test against my pattern, it fails. It’s definitely something I need to learn deeply in the future. But for now, I’m happy I […]
Yesterday, I started the 30 Days of Node.js challenge. While yesterdays lesson was about servers and how to display various formats, such as strings, JSON files, HTML files, etc., today’s lesson was about the file system such as reading, writing and deleting files. Today’s code snippets can be found on https://github.com/nielslange/30-days-of-node-js/tree/master/Day%2002%20-%20File%20System.
“I will never stop learning!” is the first sentence of The Automattic Creed. With that in mind, I decided to challenge myself and learn Node.js.
gamification | ˌɡeɪmɪfɪˈkeɪʃ(ə)n | noun [mass noun] the application of typical elements of game playing (e.g. point scoring, competition with others, rules of play) to other areas of activity, typically as an online marketing technique to encourage engagement with a product or service: gamification is exciting because it promises to make the hard stuff in life fun. Apple Dictionary I’m not […]