node package manager


What is Underscore for Node.js

Underscore for Node.js without cross-browser checks.

This is a ported version of Underscore targeted for Node.js on V8 JavaScript Engine.

Its purpose is to have the exactly same APIs and functionalities but with better perfomance and smaller code size.

It is accomplished by eliminating unnecessary cross-browser compatibility efforts.

Its APIs can be found in here, and it is fully tested against the same tests for original Underscore.

How To Use

To install via NPM package:

npm install underscore-node

Inside your Node.js project:

var _ = require('underscore-node');


This version is targeted for Node.js on V8 JavaScript Engine only.

It is NOT to be used on browsers or any other JavaScript engines.

This means that there will be no efforts to support different JavaScript versions or behaviours.