{"name":"mixin-object","description":"Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.","version":"2.0.1","homepage":"https://github.com/jonschlinkert/mixin-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/mixin-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/mixin-object/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-in":"^0.1.3","is-extendable":"^0.1.1"},"devDependencies":{"mocha":"^2.2.5","should":"^7.0.1"},"keywords":["assign","copy","extend","key","merge","mixin","object","objects","prop","properties","property","shallow","util","value"],"verbiage":{"related":{"list":["defaults-deep","extend-shallow","assign-deep","mixin-deep","merge-deep","isobject","is-plain-object","for-own","for-in"]}},"gitHead":"d01616d67f22220ef32c754c09d5caad46402b5a","_id":"mixin-object@2.0.1","_shasum":"4fb949441dab182540f1fe035ba60e1947a5e57e","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4fb949441dab182540f1fe035ba60e1947a5e57e","tarball":"http://registry-npm.ywwl.com/mixin-object/download/mixin-object-2.0.1.tgz","integrity":"sha512-ALGF1Jt9ouehcaXaHhn6t1yGWRqGaHkPFndtFVHfZXOvkIZ/yoGaSi0AHVTafb3ZBGg4dr/bDwnaEKqCXzchMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHYfdhOg5ah+DFfCFnVXh6+jHZZMxtYqTHA67qQOfQeiAiA/xeDkhQFQC+UVkjqwaWzohz5IocPeHqokBpnTf36cHg=="}],"size":2533,"noattachment":false,"key":"/mixin-object/-/mixin-object-2.0.1.tgz"},"directories":{},"readme":"# mixin-object [![NPM version](https://img.shields.io/npm/v/mixin-object.svg?style=flat)](https://www.npmjs.com/package/mixin-object) [![NPM monthly downloads](https://img.shields.io/npm/dm/mixin-object.svg?style=flat)](https://npmjs.org/package/mixin-object) [![NPM total downloads](https://img.shields.io/npm/dt/mixin-object.svg?style=flat)](https://npmjs.org/package/mixin-object) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/mixin-object.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/mixin-object)\n\n> Mixin the own and inherited properties of other objects onto the first object. Pass an empty object as the first arg to shallow clone.\n\nFollow this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), for updates on this project and others.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save mixin-object\n```\n\nIf you only want to combine own-properties, use [extend-shallow](https://github.com/jonschlinkert/extend-shallow).\n\n## Usage\n\n```js\nvar mixin = require('mixin-object');\n\nvar obj = {c: 'c'};\nvar foo = mixin({a: 'a'}, {b: 'b'});\nconsole.log(foo);\n//=> {c: 'c', a: 'a', b: 'b'}\nconsole.log(obj);\n//=> {c: 'c'}\n\nmixin({}, {a: 'a'}, {b: 'b'});\n//=> {a: 'a', b: 'b'}\n```\n\n## About\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [assign-deep](https://www.npmjs.com/package/assign-deep): Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target… [more](https://github.com/jonschlinkert/assign-deep) | [homepage](https://github.com/jonschlinkert/assign-deep \"Deeply assign the enumerable properties and/or es6 Symbol properies of source objects to the target (first) object.\")\n* [defaults-deep](https://www.npmjs.com/package/defaults-deep): Like `extend` but recursively copies only the missing properties/values to the target object. | [homepage](https://github.com/jonschlinkert/defaults-deep \"Like `extend` but recursively copies only the missing properties/values to the target object.\")\n* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow \"Extend an object with the properties of additional objects. node.js/javascript util.\")\n* [for-in](https://www.npmjs.com/package/for-in): Iterate over the own and inherited enumerable properties of an object, and return an object… [more](https://github.com/jonschlinkert/for-in) | [homepage](https://github.com/jonschlinkert/for-in \"Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js\")\n* [for-own](https://www.npmjs.com/package/for-own): Iterate over the own enumerable properties of an object, and return an object with properties… [more](https://github.com/jonschlinkert/for-own) | [homepage](https://github.com/jonschlinkert/for-own \"Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js.\")\n* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object \"Returns true if an object was created by the `Object` constructor.\")\n* [isobject](https://www.npmjs.com/package/isobject): Returns true if the value is an object and not an array or null. | [homepage](https://github.com/jonschlinkert/isobject \"Returns true if the value is an object and not an array or null.\")\n* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep \"Recursively merge values in a javascript object.\")\n* [mixin-deep](https://www.npmjs.com/package/mixin-deep): Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. | [homepage](https://github.com/jonschlinkert/mixin-deep \"Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\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.6.0, on September 04, 2017._","publish_time":1440138272590,"_cnpm_publish_time":1440138272590,"dist-tags":{"latest":"3.0.0"}}