Xervo

#modules

npm Install Once

npm Install Once

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.

Read More

Fun with io.js - Six New Features

Fun with io.js - Six New Features

Using six new features in io.js binary for node. The io.js project is a "friendly fork" of node.js. It supports all the same modules in npm but, in the few months since it began, it has shipped a newer version of v8 (the JavaScript interpreter used by node.js), a lot of bug fixes, and a few features which we'll explore in this article.

Read More

Using Tests to Document a Node.js Module

Using Tests to Document a Node.js Module

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.

Read More

Identifying Good npm Modules

Identifying Good npm Modules

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.

Read More

Node.js and SQLite

Node.js and SQLite

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.

Read More

100,000 npm Modules

100,000 npm Modules

I'm happy to congratulate our friends over at npm, Inc on npm passing 100,000 modules in the public repository. This marks a great moment for how far Node.js and JavaScript have come over a few short years. To show our appreciation for this fantastic achievement we've created an infographic about the growth of npm.

Read More

10 Node.js Modules You May Not Know About

10 Node.js Modules You May Not Know About

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.

Read More

Top 10 Reasons To Use Node.js

Top 10 Reasons To Use Node.js

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.

Read More

Node.js and MongoDB - Getting Started with Mongoose

Node.js and MongoDB - Getting Started with Mongoose

Mongoose is a Node.js library that provides MongoDB object mapping similar to ORM with a familiar interface within Node.js. If you aren't familiar with Object Relational Mapping (ORM) or, Object Data Mapping (ODM) in the case of Mongoose, this means is that Mongoose translates data in the database to JavaScript objects for use in your application. Let's take a look at creating and storing documents in a collection using MongoDB and Mongoose.

Read More

Run Meteor Apps Anywhere with Demeteorizer

Run Meteor Apps Anywhere with Demeteorizer

Meteor is an ambitious project that aims to reduce the amount of time it takes to write and deploy high-quality apps. I would compare it to Rails if I weren’t afraid of the response I would get to saying something like that, so let’s just call it a set of tools and a JavaScript framework.

Read More