{"_id":"@f/defaults","_rev":"334358","name":"@f/defaults","description":"Soft version of extend.  Assigns own properties only if they are undefined in the original object.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"time":{"modified":"2021-06-08T13:13:28.000Z","created":"2015-12-16T18:03:48.472Z","1.0.1":"2016-01-19T01:29:58.637Z","0.1.1":"2015-12-16T18:05:31.945Z","1.0.0":"2015-12-16T18:03:48.472Z"},"users":{},"repository":{"type":"git","url":"git://github.com/micro-js/defaults.git"},"versions":{"1.0.1":{"name":"@f/defaults","description":"Soft version of extend.  Assigns own properties only if they are undefined in the original object.","repository":{"type":"git","url":"git://github.com/micro-js/defaults.git"},"version":"1.0.1","license":"MIT","main":"lib/index.js","scripts":{"postversion":"git push && git push --tags && npm publish --access=public"},"dependencies":{"@f/foreach":"^1.2.0"},"devDependencies":{"tape":"^4.2.2"},"gitHead":"45a6053e56d96281b1e6254685b9d9f279db621d","bugs":{"url":"https://github.com/micro-js/defaults/issues"},"homepage":"https://github.com/micro-js/defaults#readme","_id":"@f/defaults@1.0.1","_shasum":"6aef847a88324602f63442ab2607a8e3d5d0cc75","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"6aef847a88324602f63442ab2607a8e3d5d0cc75","size":1373,"noattachment":false,"key":"/@f/defaults/-/@f/defaults-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/defaults/download/@f/defaults-1.0.1.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1453166998637,"_cnpm_publish_time":1453166998637,"_hasShrinkwrap":false},"0.1.1":{"name":"@f/defaults","description":"Soft version of extend.  Assigns own properties only if they are undefined in the original object.","repository":{"type":"git","url":"git://github.com/micro-js/defaults.git"},"version":"0.1.1","license":"MIT","main":"lib/index.js","dependencies":{"@f/foreach":"^1.2.1"},"devDependencies":{"tape":"^4.2.0","standard":"^4.0.0"},"gitHead":"82092c3fbe0dbf31acf2616a5993d62d73ca79a1","bugs":{"url":"https://github.com/micro-js/defaults/issues"},"homepage":"https://github.com/micro-js/defaults#readme","_id":"@f/defaults@0.1.1","scripts":{},"_shasum":"75ed9861c2239e45dadfb5a75c2d379e8a1a2759","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"75ed9861c2239e45dadfb5a75c2d379e8a1a2759","size":1660,"noattachment":false,"key":"/@f/defaults/-/@f/defaults-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/defaults/download/@f/defaults-0.1.1.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1450289131945,"_cnpm_publish_time":1450289131945,"_hasShrinkwrap":false},"1.0.0":{"name":"@f/defaults","description":"Soft version of extend.  Assigns own properties only if they are undefined in the original object.","repository":{"type":"git","url":"git://github.com/micro-js/defaults.git"},"version":"1.0.0","license":"MIT","main":"lib/index.js","scripts":{"postversion":"git push && git push --tags && npm publish --access=public"},"dependencies":{"@f/foreach":"^1.2.0"},"devDependencies":{"tape":"^4.2.2"},"gitHead":"bf411185825e7f05a20aecfd2faeac1118e32766","bugs":{"url":"https://github.com/micro-js/defaults/issues"},"homepage":"https://github.com/micro-js/defaults#readme","_id":"@f/defaults@1.0.0","_shasum":"2c5244173c04ec5333ac69d2e79495284981ab1f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"f","email":"registration@weo.io"},"dist":{"shasum":"2c5244173c04ec5333ac69d2e79495284981ab1f","size":1367,"noattachment":false,"key":"/@f/defaults/-/@f/defaults-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@f/defaults/download/@f/defaults-1.0.0.tgz"},"maintainers":[{"name":"f","email":"registration@weo.io"}],"directories":{},"publish_time":1450289028472,"_cnpm_publish_time":1450289028472,"_hasShrinkwrap":false}},"readme":"\n# defaults\n\n[![Build status][travis-image]][travis-url]\n[![Git tag][git-image]][git-url]\n[![NPM version][npm-image]][npm-url]\n[![Code style][standard-image]][standard-url]\n\nSoft version of extend.  Assigns own properties only if they are undefined in the original object.\n\n## Installation\n\n    $ npm install @f/defaults\n\n## Usage\n\n```js\nvar defaults = require('@f/defaults')\n\ndefaults({a: 1}, {a: 2}) // => {a: 1}\n\ndefaults({a: 1}, {b: 2}) // => {a: 1, b: 2}\n```\n\n## API\n\n### defaults(obj, defaults)\n\n- `obj` - Object to extend with `defaults`\n- `defaults` - Default values\n\n**Returns:** `obj` with applied `defaults`.\n\n## License\n\nMIT\n\n[travis-image]: https://img.shields.io/travis/micro-js/defaults.svg?style=flat-square\n[travis-url]: https://travis-ci.org/micro-js/defaults\n[git-image]: https://img.shields.io/github/tag/micro-js/defaults.svg\n[git-url]: https://github.com/micro-js/defaults\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat\n[standard-url]: https://github.com/feross/standard\n[npm-image]: https://img.shields.io/npm/v/@f/defaults.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/@f/defaults\n","_attachments":{},"homepage":"https://github.com/micro-js/defaults#readme","bugs":{"url":"https://github.com/micro-js/defaults/issues"},"license":"MIT"}