node package manager

lodash.defaultto

lodash.defaultto v4.14.0

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

Installation

Using npm:

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

In Node.js:

var defaultTo = require('lodash.defaultto');

See the documentation or package source for more details.