{"name":"fill-keys","main":"index.js","version":"1.0.1","description":"Fill keys in a destination that are defined on the source","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bendrucker/fill-keys.git"},"author":{"name":"Ben Drucker","email":"bvdrucker@gmail.com","url":"bendrucker.me"},"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && tape test.js"},"keywords":["keys","object","copy"],"dependencies":{"is-object":"~1.0.1","merge-descriptors":"~1.0.0"},"devDependencies":{"tape":"^4.0.0","standard":"^4.0.0"},"files":["index.js","readme.md"],"gitHead":"2e3216fa387e4a8f1f4e4c6af808827e7051dad9","bugs":{"url":"https://github.com/bendrucker/fill-keys/issues"},"homepage":"https://github.com/bendrucker/fill-keys#readme","_id":"fill-keys@1.0.1","_shasum":"77064318875c40c53101d6a83f6a4825b2b70ef5","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"bendrucker","email":"bvdrucker@gmail.com"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"dist":{"shasum":"77064318875c40c53101d6a83f6a4825b2b70ef5","tarball":"http://registry-npm.ywwl.com/fill-keys/download/fill-keys-1.0.1.tgz","integrity":"sha512-qyf9o3cdRmGRNH5zyY33N+ZrMKVG43Umli/y62+W4/cE3ETb09s2Alv5T45XQVoGN6e30shDvzL0kPXIQxswlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFnTSv62LVwybBfK5GsEbzS4O/BvC0dc1LyJpsfQ3qfXAiBr0Ma/T0Hvc8vkQKMuyBfjdoJ7xPNtQpzqUkdxW2yYwA=="}],"size":1903,"noattachment":false,"key":"/fill-keys/-/fill-keys-1.0.1.tgz"},"directories":{},"readme":"# fill-keys\n\n> Fill keys in a destination that are defined on the source. Copies descriptors so properties like `enumerable` will persist. \n\n\n## Install\n\n```\n$ npm install --save fill-keys\n```\n\n\n## Usage\n\n```js\nconst fillKeys = require('fill-keys')\n\nfillKeys(destination, source);\n//=> missing destination keys in source are copied\n```\n\nfill-keys will copy descriptors. It will also copy the `source.prototype` properties onto `destination.prototype` if both `destination` and `source` are functions. \n\n## API\n\n#### `fillKeys(destination, source)` -> `destination`\n\n#### `destination`\n\n*Required*  \nType: `any`\n\nThe destination object where keys from `source` will be added.\n\n#### source\n\n*Required*  \nType: `any`\n\nThe source object from which to copy properties.\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","publish_time":1433274775927,"_cnpm_publish_time":1433274775927,"dist-tags":{"latest":"2.0.0"}}