{"_id":"mixin-object","_rev":"26770","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.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:02:45.000Z","created":"2014-09-22T14:19:55.315Z","3.0.0":"2017-09-04T09:54:10.832Z","2.0.1":"2015-08-21T06:24:32.590Z","2.0.0":"2015-07-05T05:54:20.530Z","1.0.0":"2015-02-25T11:05:04.940Z","0.1.1":"2014-10-01T22:35:22.286Z","0.1.0":"2014-09-22T14:19:55.315Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/mixin-object.git"},"versions":{"3.0.0":{"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":"3.0.0","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":"^1.0.2","is-extendable":"^1.0.0"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.0"},"keywords":["assign","copy","extend","key","merge","mixin","object","objects","prop","properties","property","shallow","util","value"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"related":{"list":["assign-deep","defaults-deep","extend-shallow","for-in","for-own","is-plain-object","isobject","merge-deep","mixin-deep"]},"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"8eacd0d3dd20953212a092b9f9bed43dce8b9e54","_id":"mixin-object@3.0.0","_npmVersion":"5.4.0","_nodeVersion":"8.4.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"55091196c9cf744f4c7956fb7021da38c736c440","size":3151,"noattachment":false,"key":"/mixin-object/-/mixin-object-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-3.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mixin-object-3.0.0.tgz_1504518849923_0.2502386977430433"},"directories":{},"publish_time":1504518850832,"_hasShrinkwrap":false,"_cnpm_publish_time":1504518850832},"2.0.1":{"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","size":2533,"noattachment":false,"key":"/mixin-object/-/mixin-object-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-2.0.1.tgz"},"directories":{},"publish_time":1440138272590,"_cnpm_publish_time":1440138272590,"_hasShrinkwrap":false},"2.0.0":{"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.0","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":"a25765dbb524186cc819158f036d29031f09e503","_id":"mixin-object@2.0.0","_shasum":"35743f4453c8bc865adf61a293a5612e431894bd","_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":"35743f4453c8bc865adf61a293a5612e431894bd","size":2488,"noattachment":false,"key":"/mixin-object/-/mixin-object-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-2.0.0.tgz"},"directories":{},"publish_time":1436075660530,"_cnpm_publish_time":1436075660530,"_hasShrinkwrap":false},"1.0.0":{"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":"1.0.0","homepage":"https://github.com/jonschlinkert/mixin-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/mixin-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/mixin-object/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/mixin-object/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"for-in":"^0.1.3","for-own":"^0.1.1","is-plain-object":"^1.0.0"},"devDependencies":{"mocha":"*","should":"^5.0.1"},"keywords":["copy","extend","key","merge","mixin","object","prop","properties","property","util","value"],"gitHead":"a25765dbb524186cc819158f036d29031f09e503","_id":"mixin-object@1.0.0","_shasum":"cf989639d0555f4cae0d0ccdbaa87c14275a3c06","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cf989639d0555f4cae0d0ccdbaa87c14275a3c06","size":2184,"noattachment":false,"key":"/mixin-object/-/mixin-object-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-1.0.0.tgz"},"directories":{},"publish_time":1424862304940,"_cnpm_publish_time":1424862304940,"_hasShrinkwrap":false},"0.1.1":{"name":"mixin-object","description":"Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/mixin-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/mixin-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/mixin-object/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/mixin-object/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["mixin"],"dependencies":{"for-own":"^0.1.1"},"_id":"mixin-object@0.1.1","_shasum":"18b48342c9094e8b5559b4fb225cfa0c0959f9f2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"18b48342c9094e8b5559b4fb225cfa0c0959f9f2","size":3114,"noattachment":false,"key":"/mixin-object/-/mixin-object-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-0.1.1.tgz"},"directories":{},"publish_time":1412202922286,"_cnpm_publish_time":1412202922286,"_hasShrinkwrap":false},"0.1.0":{"name":"mixin-object","description":"Add the properties from any number of objects into the first object. To create a new object pass an empty object as the first arg.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/mixin-object","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/mixin-object.git"},"bugs":{"url":"https://github.com/jonschlinkert/mixin-object/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/mixin-object/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","mocha":"*"},"keywords":["mixin"],"dependencies":{"for-own":"^0.1.1"},"_id":"mixin-object@0.1.0","_shasum":"3bcff4215ff11816897d5f59a9718381b91021d5","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3bcff4215ff11816897d5f59a9718381b91021d5","size":2808,"noattachment":false,"key":"/mixin-object/-/mixin-object-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/mixin-object/download/mixin-object-0.1.0.tgz"},"directories":{},"publish_time":1411395595315,"_cnpm_publish_time":1411395595315,"_hasShrinkwrap":false}},"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._","_attachments":{},"homepage":"https://github.com/jonschlinkert/mixin-object","bugs":{"url":"https://github.com/jonschlinkert/mixin-object/issues"},"license":"MIT"}