{ "_id": "merge-descriptors", "_rev": "72-f8cb24ba4219325106ae367e29330012", "name": "merge-descriptors", "description": "Merge objects using descriptors", "dist-tags": { "latest": "1.0.1" }, "versions": { "0.0.1": { "name": "merge-descriptors", "description": "Merge objects using descriptors", "version": "0.0.1", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/jonathanong/merge-descriptors.git" }, "bugs": { "url": "https://github.com/jonathanong/merge-descriptors/issues" }, "scripts": { "test": "make test;" }, "homepage": "https://github.com/jonathanong/merge-descriptors", "_id": "merge-descriptors@0.0.1", "dist": { "shasum": "2ff0980c924cf81d0b5d1fb601177cb8bb56c0d0", "tarball": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.1.tgz" }, "_from": ".", "_npmVersion": "1.3.13", "_npmUser": { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" }, "maintainers": [ { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" } ], "directories": {} }, "0.0.2": { "name": "merge-descriptors", "description": "Merge objects using descriptors", "version": "0.0.2", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/component/merge-descriptors.git" }, "bugs": { "url": "https://github.com/component/merge-descriptors/issues" }, "scripts": { "test": "make test;" }, "homepage": "https://github.com/component/merge-descriptors", "_id": "merge-descriptors@0.0.2", "dist": { "shasum": "c36a52a781437513c57275f39dd9d317514ac8c7", "tarball": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz" }, "_from": ".", "_npmVersion": "1.3.17", "_npmUser": { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" }, "maintainers": [ { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" } ], "directories": {} }, "1.0.0": { "name": "merge-descriptors", "description": "Merge objects using descriptors", "version": "1.0.0", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, "contributors": [ { "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com" } ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/component/merge-descriptors.git" }, "bugs": { "url": "https://github.com/component/merge-descriptors/issues" }, "files": [ "LICENSE", "README.md", "index.js" ], "gitHead": "81d7a3c14099884c391bd237d7d8edf23c6d6f18", "homepage": "https://github.com/component/merge-descriptors", "_id": "merge-descriptors@1.0.0", "scripts": {}, "_shasum": "2169cf7538e1b0cc87fb88e1502d8474bbf79864", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "dougwilson", "email": "doug@somethingdoug.com" }, "maintainers": [ { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" }, { "name": "tootallnate", "email": "nathan@tootallnate.net" }, { "name": "juliangruber", "email": "julian@juliangruber.com" }, { "name": "yields", "email": "yields@icloud.com" }, { "name": "ianstormtaylor", "email": "ian@ianstormtaylor.com" }, { "name": "tjholowaychuk", "email": "tj@vision-media.ca" }, { "name": "timoxley", "email": "secoif@gmail.com" }, { "name": "mattmueller", "email": "mattmuelle@gmail.com" }, { "name": "jonathanong", "email": "jonathanrichardong@gmail.com" }, { "name": "queckezz", "email": "fabian.eichenberger@gmail.com" }, { "name": "anthonyshort", "email": "antshort@gmail.com" }, { "name": "dominicbarnes", "email": "dominic@dbarnes.info" }, { "name": "clintwood", "email": "clint@anotherway.co.za" }, { "name": "thehydroimpulse", "email": "dnfagnan@gmail.com" }, { "name": "stephenmathieson", "email": "me@stephenmathieson.com" }, { "name": "trevorgerhardt", "email": "trevorgerhardt@gmail.com" }, { "name": "timaschew", "email": "timaschew@gmail.com" }, { "name": "hughsk", "email": "hughskennedy@gmail.com" }, { "name": "dougwilson", "email": "doug@somethingdoug.com" } ], "dist": { "shasum": "2169cf7538e1b0cc87fb88e1502d8474bbf79864", "tarball": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.0.tgz" }, "directories": {} }, "1.0.1": { "name": "merge-descriptors", "description": "Merge objects using descriptors", "version": "1.0.1", "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, "contributors": [ { "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com" }, { "name": "Mike Grabowski", "email": "grabbou@gmail.com" } ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/component/merge-descriptors" }, "devDependencies": { "istanbul": "0.4.1", "mocha": "1.21.5" }, "files": [ "HISTORY.md", "LICENSE", "README.md", "index.js" ], "scripts": { "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" }, "gitHead": "f26c49c3b423b0b2ac31f6e32a84e1632f2d7ac2", "bugs": { "url": "https://github.com/component/merge-descriptors/issues" }, "homepage": "https://github.com/component/merge-descriptors", "_id": "merge-descriptors@1.0.1", "_shasum": "b00aaa556dd8b44568150ec9d1b953f3f90cbb61", "_from": ".", "_npmVersion": "1.4.28", "_npmUser": { "name": "dougwilson", "email": "doug@somethingdoug.com" }, "maintainers": [ { "name": "anthonyshort", "email": "antshort@gmail.com" }, { "name": "clintwood", "email": "clint@anotherway.co.za" }, { "name": "dfcreative", "email": "df.creative@gmail.com" }, { "name": "dominicbarnes", "email": "dominic@dbarnes.info" }, { "name": "dougwilson", "email": "doug@somethingdoug.com" }, { "name": "ianstormtaylor", "email": "ian@ianstormtaylor.com" }, { "name": "jonathanong", "email": "jonathanrichardong@gmail.com" }, { "name": "jongleberry", "email": "jonathanrichardong@gmail.com" }, { "name": "juliangruber", "email": "julian@juliangruber.com" }, { "name": "mattmueller", "email": "mattmuelle@gmail.com" }, { "name": "queckezz", "email": "fabian.eichenberger@gmail.com" }, { "name": "stephenmathieson", "email": "me@stephenmathieson.com" }, { "name": "thehydroimpulse", "email": "dnfagnan@gmail.com" }, { "name": "timaschew", "email": "timaschew@gmail.com" }, { "name": "timoxley", "email": "secoif@gmail.com" }, { "name": "tjholowaychuk", "email": "tj@vision-media.ca" }, { "name": "tootallnate", "email": "nathan@tootallnate.net" }, { "name": "trevorgerhardt", "email": "trevorgerhardt@gmail.com" }, { "name": "yields", "email": "yields@icloud.com" } ], "dist": { "shasum": "b00aaa556dd8b44568150ec9d1b953f3f90cbb61", "tarball": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz" }, "directories": {} } }, "readme": "# Merge Descriptors\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nMerge objects using descriptors.\n\n```js\nvar thing = {\n get name() {\n return 'jon'\n }\n}\n\nvar animal = {\n\n}\n\nmerge(animal, thing)\n\nanimal.name === 'jon'\n```\n\n## API\n\n### merge(destination, source)\n\nRedefines `destination`'s descriptors with `source`'s.\n\n### merge(destination, source, false)\n\nDefines `source`'s descriptors on `destination` if `destination` does not have\na descriptor by the same name.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/merge-descriptors.svg\n[npm-url]: https://npmjs.org/package/merge-descriptors\n[travis-image]: https://img.shields.io/travis/component/merge-descriptors/master.svg\n[travis-url]: https://travis-ci.org/component/merge-descriptors\n[coveralls-image]: https://img.shields.io/coveralls/component/merge-descriptors/master.svg\n[coveralls-url]: https://coveralls.io/r/component/merge-descriptors?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/merge-descriptors.svg\n[downloads-url]: https://npmjs.org/package/merge-descriptors\n", "maintainers": [ { "email": "julian@juliangruber.com", "name": "juliangruber" }, { "email": "tj@vision-media.ca", "name": "tjholowaychuk" }, { "email": "jonathanrichardong@gmail.com", "name": "jonathanong" }, { "email": "doug@somethingdoug.com", "name": "dougwilson" }, { "email": "jonathanrichardong@gmail.com", "name": "jongleberry" } ], "time": { "modified": "2018-01-05T19:10:02.085Z", "created": "2013-10-29T20:29:05.974Z", "0.0.1": "2013-10-29T20:29:06.954Z", "0.0.2": "2013-12-14T05:10:12.691Z", "1.0.0": "2015-03-01T21:30:01.609Z", "1.0.1": "2016-01-17T23:50:26.636Z" }, "author": { "name": "Jonathan Ong", "email": "me@jongleberry.com", "url": "http://jongleberry.com" }, "repository": { "type": "git", "url": "https://github.com/component/merge-descriptors" }, "readmeFilename": "README.md", "homepage": "https://github.com/component/merge-descriptors", "bugs": { "url": "https://github.com/component/merge-descriptors/issues" }, "license": "MIT", "users": { "fatelei": true, "simplyianm": true, "wangnan0610": true, "joshperry": true, "nanhualyq": true, "liushoukai": true, "aitorllj93": true, "456wyc": true, "xu_q90": true, "mojaray2k": true, "magicxiao": true, "leonzhao": true, "duartemendes": true, "ghettovoice": true, "kodekracker": true, "bhaskarmelkani": true, "damon.huang": true, "srksumanth": true }, "contributors": [ { "name": "Douglas Christopher Wilson", "email": "doug@somethingdoug.com" }, { "name": "Mike Grabowski", "email": "grabbou@gmail.com" } ], "_attachments": {} }