node package manager

lodash.compact

The lodash method <code>_.compact</code> exported as a module.

lodash.compact v3.0.1

The lodash method _.compact exported as a Node.js module.

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.compact

In Node.js:

var compact = require('lodash.compact');

See the documentation or package source for more details.