Once is one of my favorite modules I use, it shows up in almost all the applications I write, created by Isaac Schlueter. It’s a very simple idea. Once takes a function and returns a function that will call the function you passed it, only once. If you try to call it more then once, the subsequent calls will simply be noops.
How to write your first NPM Module for those who aren't Node experts, but want to become one, or know enough to be dangerous.
This is not an article about why you should be writing test, which you should. There are plenty of articles out there promoting testing in general or a specific testing approach. It's about how you organize your tests and how this organization may help you make better use of the tests you already have.
There are now more than 90,000 npm modules in the public npm repository and that means there are a lot of options for solving almost any problem in Node.js. Nearly everyone using npm has asked themselves at one point, "How do I know if this npm module is any good?". Well I'm here to help answer that. In this post I'll go though some of the ways we evalute a npm module.
SQLite has the power of being not only headless, but a simple relational database that can be used by just about any language out there. Node.js is no different, but while journeying through the sea of choices you have for databases, SQLite seems to often go unnoticed.
As Node.js continues to rise in popularity and the number of modules on npm rapidly increase it becomes harder and harder to keep up with the useful and unique modules. So in order to make it a little easier I've compiled a list of some of the great Modules you might not know about.
There are many great reasons to use Node.js, regardless of experience level. Take a look into what some of the greatest practical reasons are to use Node and why you should love it.