Skip to content
Underscore for Node.js without unnecessary cross-browser checks
Find file
New pull request
Latest commit bd0b248 @joonhocho Update

What is Underscore for Node.js

Underscore.js for Node.js without cross-browser checks.

This is a ported version of Underscore.js 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.

Something went wrong with that request. Please try again.