JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 31421
  • Score
    100M100P100Q143682F

Like `extend` but recursively copies only the missing properties/values to the target object.

Package Exports

  • defaults-deep

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (defaults-deep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

defaults-deep NPM version

Like extend but recursively copies only the missing properties/values to the target object.

Usage

var defaults = require('defaults-deep');

defaults({a: {one: 'one'}}, {a: {two: 'two'}})
//=> {a: {one: 'one', two: 'two'}};

Install

Install with npm

npm i defaults-deep --save

Install with bower

bower install defaults-deep --save

Run tests

npm test

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on October 12, 2014.