{"_id":"expand-hash","_rev":"86365","name":"expand-hash","description":"Recursively expands property keys with dot-notation into objects.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:02.000Z","created":"2014-03-22T20:40:56.648Z","1.0.1":"2018-05-15T19:55:37.914Z","1.0.0":"2018-05-14T14:44:43.028Z","0.2.2":"2015-08-27T04:05:00.799Z","0.2.1":"2014-04-10T20:42:38.753Z","0.1.1":"2014-03-23T21:03:44.035Z","0.1.0":"2014-03-22T20:40:56.648Z"},"users":{"nichoth":true},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/expand-hash.git"},"versions":{"1.0.1":{"name":"expand-hash","description":"Recursively expands property keys with dot-notation into objects.","version":"1.0.1","homepage":"https://github.com/doowb/expand-hash","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/expand-hash.git"},"bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.1.1"},"keywords":["config values","dot notation","expand","hash","keys","object","string","values"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"data":{"author":{"linkedin":"woodwardbrian","twitter":"doowb"}},"plugins":["gulp-format-md"],"related":{"list":["stringify-keys","expand-object"]},"lint":{"reflinks":true}},"gitHead":"556913f6c2f05848110b5b8261cfc78e5ce3dc77","_id":"expand-hash@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"bf3eabfda20f375d5c7c5ed6b56cdbe03673017c","size":2852,"noattachment":false,"key":"/expand-hash/-/expand-hash-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-1.0.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expand-hash_1.0.1_1526414137845_0.6796780737343442"},"_hasShrinkwrap":false,"publish_time":1526414137914,"_cnpm_publish_time":1526414137914},"1.0.0":{"name":"expand-hash","description":"Recursively expands property keys with dot-notation into objects.","version":"1.0.0","homepage":"https://github.com/doowb/expand-hash","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/expand-hash.git"},"bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=4"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^5.1.1"},"keywords":["config values","dot notation","expand","hash","keys","object","string","values"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"data":{"author":{"linkedin":"woodwardbrian","twitter":"doowb"}},"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"351398214d4cac7ac9cdeed90c747dc8fa681537","_id":"expand-hash@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"2aae0d3e9971dd62da0758921379cab0bf5ae53b","size":2662,"noattachment":false,"key":"/expand-hash/-/expand-hash-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-1.0.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expand-hash_1.0.0_1526309082880_0.03836003425172674"},"_hasShrinkwrap":false,"publish_time":1526309083028,"_cnpm_publish_time":1526309083028},"0.2.2":{"name":"expand-hash","description":"Recursively expands hash keys into objects.","version":"0.2.2","homepage":"https://github.com/doowb/expand-hash","author":{"name":"Brian Woodward","url":"http://github.com/doowb/"},"repository":{"type":"git","url":"git+https://github.com/doowb/expand-hash.git"},"bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"license":{"type":"MIT","url":"https://github.com/doowb/expand-hash/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha -R spec"},"dependencies":{"lodash":"~2.4.1"},"devDependencies":{"chai":"~1.8.1","mocha":"*","should":"*"},"keywords":["hash","object","values","string","dot notation","config values","keys","expand"],"verb":{"related":{"list":[]}},"gitHead":"b60b951dc4c2027bc90097f7d57ad87b2cab8f30","_id":"expand-hash@0.2.2","_shasum":"328155ad1a8042eb37498708434e58f21d0d4860","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"328155ad1a8042eb37498708434e58f21d0d4860","size":2506,"noattachment":false,"key":"/expand-hash/-/expand-hash-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-0.2.2.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1440648300799,"_cnpm_publish_time":1440648300799,"_hasShrinkwrap":false},"0.2.1":{"name":"expand-hash","version":"0.2.1","description":"Recursively expands hash keys into objects.","author":{"name":"Brian Woodward","url":"http://github.com/doowb/"},"homepage":"https://github.com/doowb/expand-hash","repository":{"type":"git","url":"https://github.com/doowb/expand-hash"},"bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/expand-hash/blob/master/LICENSE-MIT"}],"keywords":["hash","object","values","string","dot notation","config values","keys","expand"],"main":"index.js","scripts":{"test":"mocha -R spec"},"engines":{"node":">=0.8"},"dependencies":{"lodash":"~2.4.1"},"devDependencies":{"chai":"~1.8.1","mocha":"~1.17.0","verb":"~0.2.1"},"_id":"expand-hash@0.2.1","dist":{"shasum":"38069048327c4d25365c4dc4938e33c78e1a005c","size":3584,"noattachment":false,"key":"/expand-hash/-/expand-hash-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-0.2.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1397162558753,"_cnpm_publish_time":1397162558753,"_hasShrinkwrap":false},"0.1.1":{"name":"expand-hash","version":"0.1.1","description":"Expand hash keys into an object with the given values.","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/doowb/expand-hash"},"keywords":["hash","expand"],"author":{"name":"Brian Woodward","url":"http://github.com/doowb/"},"license":"MIT","bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"dependencies":{},"devDependencies":{"chai":"~1.8.1","mocha":"~1.17.0","verb":"~0.1.10"},"homepage":"https://github.com/doowb/expand-hash","licenses":[{"type":"MIT","url":"https://github.com/doowb/expand-hash/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.8"},"_id":"expand-hash@0.1.1","dist":{"shasum":"6ebcece0edcbcfa333da06825d0a7b72f6fc1e4a","size":3181,"noattachment":false,"key":"/expand-hash/-/expand-hash-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1395608624035,"_cnpm_publish_time":1395608624035,"_hasShrinkwrap":false},"0.1.0":{"name":"expand-hash","version":"0.1.0","description":"Expand hash keys into an object with the given values.","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/doowb/expand-hash"},"keywords":["hash","expand"],"author":{"name":"Brian Woodward","url":"http://github.com/doowb/"},"license":"MIT","bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"dependencies":{},"devDependencies":{"chai":"~1.8.1","mocha":"~1.17.0","verb":"~0.1.10"},"homepage":"https://github.com/doowb/expand-hash","licenses":[{"type":"MIT","url":"https://github.com/doowb/expand-hash/blob/master/LICENSE-MIT"}],"engines":{"node":">=0.8"},"_id":"expand-hash@0.1.0","dist":{"shasum":"7a5e6cad85da8105840e4aab33e859bdf712aba2","size":3277,"noattachment":false,"key":"/expand-hash/-/expand-hash-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/expand-hash/download/expand-hash-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1395520856648,"_cnpm_publish_time":1395520856648,"_hasShrinkwrap":false}},"readme":"# expand-hash [![NPM version](https://img.shields.io/npm/v/expand-hash.svg?style=flat)](https://www.npmjs.com/package/expand-hash) [![NPM monthly downloads](https://img.shields.io/npm/dm/expand-hash.svg?style=flat)](https://npmjs.org/package/expand-hash) [![NPM total downloads](https://img.shields.io/npm/dt/expand-hash.svg?style=flat)](https://npmjs.org/package/expand-hash) [![Linux Build Status](https://img.shields.io/travis/doowb/expand-hash.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/expand-hash)\n\n> Recursively expands property keys with dot-notation into objects.\n\nPlease consider following this project's author, [Brian Woodward](https://github.com/doowb), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save expand-hash\n```\n\n## Usage\n\n```js\nconst expand = require('expand-hash');\nconst obj = {\n  'foo.bar.bar': 'some value',\n  'foo.qux': 'another value',\n  fez: true\n};\n\nconsole.log(expand(obj));\n// {\n//   foo: { bar: { bar: 'some value' }, qux: 'another value' },\n//   fez: true\n// }\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\n* [expand-object](https://www.npmjs.com/package/expand-object): Expand a string into a JavaScript object using a simple notation. Use the CLI or… [more](https://github.com/jonschlinkert/expand-object) | [homepage](https://github.com/jonschlinkert/expand-object \"Expand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib.\")\n* [stringify-keys](https://www.npmjs.com/package/stringify-keys): Build an array of key paths from an object. | [homepage](https://github.com/doowb/stringify-keys \"Build an array of key paths from an object.\")\n\n### Contributors\n\n| **Commits** | **Contributor** |\n| --- | --- |\n| 19 | [doowb](https://github.com/doowb) |\n| 8  | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1  | [cconrad](https://github.com/cconrad) |\n\n### Author\n\n**Brian Woodward**\n\n* [LinkedIn Profile](https://linkedin.com/in/woodwardbrian)\n* [GitHub Profile](https://github.com/doowb)\n* [Twitter Profile](https://twitter.com/doowb)\n\n### License\n\nCopyright © 2018, [Brian Woodward](https://github.com/doowb).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 15, 2018._","_attachments":{},"homepage":"https://github.com/doowb/expand-hash","bugs":{"url":"https://github.com/doowb/expand-hash/issues"},"license":"MIT"}