39 lines
1.4 KiB
JSON
39 lines
1.4 KiB
JSON
{
|
|
"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"
|
|
],
|
|
"readme": "# Merge Descriptors\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",
|
|
"readmeFilename": "README.md",
|
|
"homepage": "https://github.com/component/merge-descriptors",
|
|
"_id": "merge-descriptors@1.0.0",
|
|
"dist": {
|
|
"shasum": "65a3f6275f385396843524bd88aded2d50cfd266"
|
|
},
|
|
"_from": "merge-descriptors@1.0.0",
|
|
"_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.0.tgz"
|
|
}
|