{"name":"merge-defaults","version":"0.1.0","description":"A recursive version of _.defaults.","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git://github.com/mikermcneil/merge-defaults.git"},"keywords":["lodash","_","defaults","recursive","deep","merge","underscore","_.defaults"],"author":{"name":"Mike McNeil"},"license":"MIT","bugs":{"url":"https://github.com/mikermcneil/merge-defaults/issues"},"homepage":"https://github.com/mikermcneil/merge-defaults","dependencies":{"lodash":"~2.4.1"},"devDependencies":{"should":"~2.1.1"},"_id":"merge-defaults@0.1.0","dist":{"shasum":"da4cb7a923db839559905be3ddbdf5bd5f9a2bb8","tarball":"http://registry-npm.ywwl.com/merge-defaults/download/merge-defaults-0.1.0.tgz","integrity":"sha512-ZNBiRP+lVrUB5GcYNOa5q2yXC1wUgPJekvMy0EysuHygIKs/JGYeJ8zDaXYPxmJlmuXb51LWxbCMaJ7wainVgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgLNn4YlZnLwii+CRUS1aRnAcAbpn8iT1dZwFhNXtuiwIgV/LJDZpq/Awxb0G6/gRcyYEOaYKnEpUTCiB6VQUKL2g="}],"size":2970,"noattachment":false,"key":"/merge-defaults/-/merge-defaults-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"balderdashy","email":"mike@balderdash.co"},"maintainers":[{"name":"balderdashy","email":"mike@balderdash.co"}],"directories":{},"readme":"## Note: Lodash now includes a [`defaultsDeep`](https://lodash.com/docs/4.17.10#defaultsDeep) function.\n\n# merge-defaults\n\nImplements a deep version of `_.defaults`.\n\n> **Important!**\n>\n> This module DOES NOT merge arrays or dates.\n\n\n## Installation\n\n```sh\n$ npm install merge-defaults\n```\n\n## Usage\n\n```javascript\n\nvar _ = require('lodash');\n\n// Override basic `_.defaults`\n_.defaults = require('merge-defaults');\n\n// Or you can add it as a new method\n_.mergeDefaults = require('merge-defaults');\n\n```\n\n## Why?\n\nThis module is a temporary solution, until lodash has something\nsimilar in core that can be called as a single method.\nIn the mean time, this is a hack to make our code more readable.\ni.e. I know what `_.defaults` means intuitively, but I have to look\nup `_.partialRight` every time.\n\nTo get the latest status, see the [original issue in the lodash repo](https://github.com/lodash/lodash/issues/154#issuecomment-32140379).\n\nI'll update this repo with install/version info if something comparable is\nadded to lodash core at some point.\n\n\n\n## License\n\nMIT &copy; Mike McNeil 2014\n","publish_time":1389575277287,"_cnpm_publish_time":1389575277287,"dist-tags":{"latest":"0.2.2"}}