Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

lodash.defaultto

lodash67.1kMIT4.14.0

The lodash method _.defaultTo exported as a module.

lodash-modularized, defaultto

readme

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.

changelog