{"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"keywords":["dot","nested","notation","object","path","stringify"],"dist-tags":{"latest":"0.3.0"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"description":"Create an object path from a list or array of strings.","readme":"# to-object-path [![NPM version](https://badge.fury.io/js/to-object-path.svg)](http://badge.fury.io/js/to-object-path)\n\n> Create an object path from a list or array of strings.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i to-object-path --save\n```\n\n## Usage\n\n```js\nvar toPath = require('to-object-path');\n\ntoPath('foo', 'bar', 'baz');\ntoPath('foo', ['bar', 'baz']);\n//=> 'foo.bar.baz'\n```\n\nAlso supports passing an arguments object (without having to slice args):\n\n```js\nfunction foo()\n  return toPath(arguments);\n}\n\nfoo('foo', 'bar', 'baz');\nfoo('foo', ['bar', 'baz']);\n//=> 'foo.bar.baz'\n```\n\nVisit the [example](./example.js) to see how this could be used in an application.\n\n## Related projects\n\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths (`  a.b.c`) to get a nested value from an object. | [homepage](https://github.com/jonschlinkert/get-value)\n* [has-value](https://www.npmjs.com/package/has-value): Returns true if a value exists, false if empty. Works with deeply nested values using… [more](https://www.npmjs.com/package/has-value) | [homepage](https://github.com/jonschlinkert/has-value)\n* [omit-value](https://www.npmjs.com/package/omit-value): Omit properties from an object or deeply nested property of an object using object path… [more](https://www.npmjs.com/package/omit-value) | [homepage](https://github.com/jonschlinkert/omit-value)\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value)\n* [unset-value](https://www.npmjs.com/package/unset-value): Delete nested properties from an object using dot notation. | [homepage](https://github.com/jonschlinkert/unset-value)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/to-object-path/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on October 28, 2015._","repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-object-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-object-path/issues"},"license":"MIT","versions":{"0.1.0":{"name":"to-object-path","description":"Create an object path from a list or array of strings.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/to-object-path","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-object-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-object-path/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{},"devDependencies":{"base-methods":"^0.2.1","mocha":"*"},"keywords":[],"verb":{"related":{"list":["get-value","set-value","has-value","unset-value"]}},"_id":"to-object-path@0.1.0","_shasum":"27746389db4eb874a02baae0286d3e91ffafae95","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"27746389db4eb874a02baae0286d3e91ffafae95","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/to-object-path/-/to-object-path-0.1.0.tgz","integrity":"sha512-XksGg3sObt1zTdsQ14vzofjt/Vm97camew/YkAJCnF1BHV8+uj6j5A0yO0cvhzvJXztE7+BGy8Oxbh/Gw9flNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfxujXP6gd3258Q6Y0Ed9rD8pyLhD7Gb8axWYLeaoFVAiBhinBpyF8nk6gS6sJ1wXm3zyYpqZH8fEPO4+kUeNjZWA=="}]}},"0.2.0":{"name":"to-object-path","description":"Create an object path from a list or array of strings.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/to-object-path","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-object-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-object-path/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"arr-flatten":"^1.0.1","is-arguments":"^1.0.2"},"devDependencies":{"base-methods":"^0.3.1","mocha":"*"},"keywords":["dot","nested","notation","object","path","stringify"],"verb":{"related":{"list":["get-value","set-value","has-value","omit-value","unset-value"]}},"gitHead":"e627f22b57e55ab0073927bb16bed27aa20ab6a5","_id":"to-object-path@0.2.0","_shasum":"1634e1b52a88ba00e3949619fc0081dc9a3b07ca","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"1634e1b52a88ba00e3949619fc0081dc9a3b07ca","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/to-object-path/-/to-object-path-0.2.0.tgz","integrity":"sha512-6oMu4CTicplxUMOXBoS1W9YNjIclUzmWpWf02v+JnYMEGVX24rTCsYMHay85WA7Wq+9wZa2iJ+HAAX0yGOcxCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAqlMLLX/Z/KTuI0yWuK4okdnO0vc/lDR8qOuJ9siGVlAiEA9twGYWs+iqZ5sfwycnO4gytCD+lBBJasNCWFMN0IE8Q="}]}},"0.3.0":{"name":"to-object-path","description":"Create an object path from a list or array of strings.","version":"0.3.0","homepage":"https://github.com/jonschlinkert/to-object-path","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-object-path.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-object-path/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"kind-of":"^3.0.2"},"devDependencies":{"base":"^0.6.7","mocha":"*"},"keywords":["dot","nested","notation","object","path","stringify"],"verb":{"related":{"list":["get-value","set-value","has-value","omit-value","unset-value"]}},"gitHead":"56f6627285b7f5b7563e6f3ffe3766d966368c17","_id":"to-object-path@0.3.0","_shasum":"297588b7b0e7e0ac08e04e672f85c1f4999e17af","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"anonymous","email":"github@sellside.com"},"maintainers":[{"name":"anonymous","email":"github@sellside.com"}],"dist":{"shasum":"297588b7b0e7e0ac08e04e672f85c1f4999e17af","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/to-object-path/-/to-object-path-0.3.0.tgz","integrity":"sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMwPlA/72WEyGAwms6AZZG5BRm7fdPEB2WRzaGik17sgIgFMoumBWCZEfzEGNU37OIzwJAXA113Z9rRc5VoMUNT9o="}]}}},"name":"to-object-path","time":{"modified":"2022-06-27T07:24:16.304Z","created":"2015-09-02T10:31:54.697Z","0.1.0":"2015-09-02T10:31:54.697Z","0.2.0":"2015-10-29T03:52:29.811Z","0.3.0":"2016-01-31T16:59:38.115Z"},"readmeFilename":"README.md","homepage":"https://github.com/jonschlinkert/to-object-path"}