{"name":"object.defaults","description":"Like `extend` but only copies missing properties/values to the target object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/object.defaults","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/object.defaults.git"},"bugs":{"url":"https://github.com/jonschlinkert/object.defaults/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/object.defaults/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.0.4","verb":">= 0.2.6"},"keywords":["copy","default","defaults","extend","merge","object","properties","property","value","values","javascript","js","util","utils"],"dependencies":{"array-slice":"^0.2.2","for-own":"^0.1.2"},"_id":"object.defaults@0.1.0","_shasum":"3688f105f5ba4b3da40262eca190ed978ad01549","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3688f105f5ba4b3da40262eca190ed978ad01549","tarball":"http://registry-npm.ywwl.com/object.defaults/download/object.defaults-0.1.0.tgz","integrity":"sha512-ABbEIq9jzM9/qiy9ARBNMjEHtEPOGZibwENy+oxDIqnybtp5tfGnjyHtdpiowfa7ERzLuYy3swKH20UeRnKmLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6QccZCZQRtmbkieWXAUc3jEu1p18pTSC5JztJS4SPVAiBjXEmEvkVNidy5hGfxp7cuGV7MtPlH3RVH823slnlqTQ=="}],"size":2905,"noattachment":false,"key":"/object.defaults/-/object.defaults-0.1.0.tgz"},"directories":{},"readme":"# object.defaults [![NPM version](https://img.shields.io/npm/v/object.defaults.svg?style=flat)](https://www.npmjs.com/package/object.defaults) [![NPM monthly downloads](https://img.shields.io/npm/dm/object.defaults.svg?style=flat)](https://npmjs.org/package/object.defaults)  [![NPM total downloads](https://img.shields.io/npm/dt/object.defaults.svg?style=flat)](https://npmjs.org/package/object.defaults) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/object.defaults.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/object.defaults)\n\n> Like `extend` but only copies missing properties/values to the target object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object.defaults\n```\n\nInstall with [bower](https://bower.io/)\n\n```sh\n$ bower install object.defaults --save\n```\n\n## Usage\n\n```js\nvar defaults = require('object.defaults');\n\nvar obj = {a: 'c'};\ndefaults(obj, {a: 'bbb', d: 'c'});\nconsole.log(obj);\n//=> {a: 'c', d: 'c'}\n```\n\nOr immutable defaulting:\n```js\nvar defaults = require('object.defaults/immutable');\nvar obj = {a: 'c'};\nvar defaulted = defaults(obj, {a: 'bbb', d: 'c'});\nconsole.log(obj !== defaulted);\n//=> true\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 16 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [phated](https://github.com/phated) |\n| 1 | [sobolevn](https://github.com/sobolevn) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 26, 2017._","publish_time":1413079260992,"_cnpm_publish_time":1413079260992,"dist-tags":{"latest":"1.1.0"}}