{"name":"fill-keys","main":"./release","version":"1.0.0","description":"Fill keys in a destination that are defined on the source","license":"MIT","repository":{"type":"git","url":"https://github.com/bendrucker/fill-keys"},"author":{"name":"Ben Drucker","email":"bvdrucker@gmail.com","url":"bendrucker.me"},"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && babel-tape-runner test/*.js"},"keywords":["keys","object","copy"],"dependencies":{"is-object":"^1.0.1","merge-descriptors":"^1.0.0"},"devDependencies":{"babel":"^5.0.0","babel-tape-runner":"*","tape":"^4.0.0","standard":"git+https://github.com/bendrucker/standard#babel","publicist":"~4.0.0","publicist-es5":"~1.0.0"},"publicist":{"builds":{"es5":{"dest":"./release"}}},"standard":{"ignore":["release/","lib/"]},"gitHead":"5944070ba87701ce56c89d671888f824c370ebd0","bugs":{"url":"https://github.com/bendrucker/fill-keys/issues"},"homepage":"https://github.com/bendrucker/fill-keys","_id":"fill-keys@1.0.0","_shasum":"055e352c73919d9851eeed6740bd33acd1ea3e7c","_from":".","_npmVersion":"2.7.6","_nodeVersion":"1.7.1","_npmUser":{"name":"bendrucker","email":"bvdrucker@gmail.com"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"dist":{"shasum":"055e352c73919d9851eeed6740bd33acd1ea3e7c","tarball":"http://registry-npm.ywwl.com/fill-keys/download/fill-keys-1.0.0.tgz","integrity":"sha512-9ZEOHx0iWY0aQ6j2FscGvY/XWRY+xIKGGDCRgtbKB9uHyjqf7P0En2swtR51Rnbv/6f1QUTxMawrwkc7A0Fngw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPDCPRFR3Sd77tc/gMkbgisLprklIJADPYdd5YBQs7hwIgLKVAkE32XvgcvUIpznVlAaBCvILJRuocWR4/db5UvOY="}],"size":2957,"noattachment":false,"key":"/fill-keys/-/fill-keys-1.0.0.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":1432032741555,"_cnpm_publish_time":1432032741555,"dist-tags":{"latest":"2.0.0"}}