| 1 |
{ |
| 2 |
"_id": "to-object-path", |
| 3 |
"_rev": "3-1c2620f06d374b88d7df2d378759a174", |
| 4 |
"name": "to-object-path", |
| 5 |
"description": "Create an object path from a list or array of strings.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "0.3.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "to-object-path", |
| 12 |
"description": "Create an object path from a list or array of strings.", |
| 13 |
"version": "0.1.0", |
| 14 |
"homepage": "https://github.com/jonschlinkert/to-object-path", |
| 15 |
"author": { |
| 16 |
"name": "Jon Schlinkert", |
| 17 |
"url": "https://github.com/jonschlinkert" |
| 18 |
}, |
| 19 |
"repository": { |
| 20 |
"type": "git", |
| 21 |
"url": "git+https://github.com/jonschlinkert/to-object-path.git" |
| 22 |
}, |
| 23 |
"bugs": { |
| 24 |
"url": "https://github.com/jonschlinkert/to-object-path/issues" |
| 25 |
}, |
| 26 |
"license": "MIT", |
| 27 |
"files": [ |
| 28 |
"index.js" |
| 29 |
], |
| 30 |
"main": "index.js", |
| 31 |
"engines": { |
| 32 |
"node": ">=0.10.0" |
| 33 |
}, |
| 34 |
"scripts": { |
| 35 |
"test": "mocha" |
| 36 |
}, |
| 37 |
"dependencies": {}, |
| 38 |
"devDependencies": { |
| 39 |
"base-methods": "^0.2.1", |
| 40 |
"mocha": "*" |
| 41 |
}, |
| 42 |
"keywords": [], |
| 43 |
"verb": { |
| 44 |
"related": { |
| 45 |
"list": [ |
| 46 |
"get-value", |
| 47 |
"set-value", |
| 48 |
"has-value", |
| 49 |
"unset-value" |
| 50 |
] |
| 51 |
} |
| 52 |
}, |
| 53 |
"_id": "[email protected]", |
| 54 |
"_shasum": "27746389db4eb874a02baae0286d3e91ffafae95", |
| 55 |
"_from": ".", |
| 56 |
"_npmVersion": "2.10.1", |
| 57 |
"_nodeVersion": "0.12.4", |
| 58 |
"_npmUser": { |
| 59 |
"name": "jonschlinkert", |
| 60 |
"email": "[email protected]" |
| 61 |
}, |
| 62 |
"maintainers": [ |
| 63 |
{ |
| 64 |
"name": "jonschlinkert", |
| 65 |
"email": "[email protected]" |
| 66 |
} |
| 67 |
], |
| 68 |
"dist": { |
| 69 |
"shasum": "27746389db4eb874a02baae0286d3e91ffafae95", |
| 70 |
"tarball": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.1.0.tgz" |
| 71 |
}, |
| 72 |
"directories": {} |
| 73 |
}, |
| 74 |
"0.2.0": { |
| 75 |
"name": "to-object-path", |
| 76 |
"description": "Create an object path from a list or array of strings.", |
| 77 |
"version": "0.2.0", |
| 78 |
"homepage": "https://github.com/jonschlinkert/to-object-path", |
| 79 |
"author": { |
| 80 |
"name": "Jon Schlinkert", |
| 81 |
"url": "https://github.com/jonschlinkert" |
| 82 |
}, |
| 83 |
"repository": { |
| 84 |
"type": "git", |
| 85 |
"url": "git+https://github.com/jonschlinkert/to-object-path.git" |
| 86 |
}, |
| 87 |
"bugs": { |
| 88 |
"url": "https://github.com/jonschlinkert/to-object-path/issues" |
| 89 |
}, |
| 90 |
"license": "MIT", |
| 91 |
"files": [ |
| 92 |
"index.js" |
| 93 |
], |
| 94 |
"main": "index.js", |
| 95 |
"engines": { |
| 96 |
"node": ">=0.10.0" |
| 97 |
}, |
| 98 |
"scripts": { |
| 99 |
"test": "mocha" |
| 100 |
}, |
| 101 |
"dependencies": { |
| 102 |
"arr-flatten": "^1.0.1", |
| 103 |
"is-arguments": "^1.0.2" |
| 104 |
}, |
| 105 |
"devDependencies": { |
| 106 |
"base-methods": "^0.3.1", |
| 107 |
"mocha": "*" |
| 108 |
}, |
| 109 |
"keywords": [ |
| 110 |
"dot", |
| 111 |
"nested", |
| 112 |
"notation", |
| 113 |
"object", |
| 114 |
"path", |
| 115 |
"stringify" |
| 116 |
], |
| 117 |
"verb": { |
| 118 |
"related": { |
| 119 |
"list": [ |
| 120 |
"get-value", |
| 121 |
"set-value", |
| 122 |
"has-value", |
| 123 |
"omit-value", |
| 124 |
"unset-value" |
| 125 |
] |
| 126 |
} |
| 127 |
}, |
| 128 |
"gitHead": "e627f22b57e55ab0073927bb16bed27aa20ab6a5", |
| 129 |
"_id": "[email protected]", |
| 130 |
"_shasum": "1634e1b52a88ba00e3949619fc0081dc9a3b07ca", |
| 131 |
"_from": ".", |
| 132 |
"_npmVersion": "2.14.7", |
| 133 |
"_nodeVersion": "4.2.1", |
| 134 |
"_npmUser": { |
| 135 |
"name": "jonschlinkert", |
| 136 |
"email": "[email protected]" |
| 137 |
}, |
| 138 |
"maintainers": [ |
| 139 |
{ |
| 140 |
"name": "jonschlinkert", |
| 141 |
"email": "[email protected]" |
| 142 |
} |
| 143 |
], |
| 144 |
"dist": { |
| 145 |
"shasum": "1634e1b52a88ba00e3949619fc0081dc9a3b07ca", |
| 146 |
"tarball": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.2.0.tgz" |
| 147 |
}, |
| 148 |
"directories": {} |
| 149 |
}, |
| 150 |
"0.3.0": { |
| 151 |
"name": "to-object-path", |
| 152 |
"description": "Create an object path from a list or array of strings.", |
| 153 |
"version": "0.3.0", |
| 154 |
"homepage": "https://github.com/jonschlinkert/to-object-path", |
| 155 |
"author": { |
| 156 |
"name": "Jon Schlinkert", |
| 157 |
"url": "https://github.com/jonschlinkert" |
| 158 |
}, |
| 159 |
"repository": { |
| 160 |
"type": "git", |
| 161 |
"url": "git+https://github.com/jonschlinkert/to-object-path.git" |
| 162 |
}, |
| 163 |
"bugs": { |
| 164 |
"url": "https://github.com/jonschlinkert/to-object-path/issues" |
| 165 |
}, |
| 166 |
"license": "MIT", |
| 167 |
"files": [ |
| 168 |
"index.js" |
| 169 |
], |
| 170 |
"main": "index.js", |
| 171 |
"engines": { |
| 172 |
"node": ">=0.10.0" |
| 173 |
}, |
| 174 |
"scripts": { |
| 175 |
"test": "mocha" |
| 176 |
}, |
| 177 |
"dependencies": { |
| 178 |
"kind-of": "^3.0.2" |
| 179 |
}, |
| 180 |
"devDependencies": { |
| 181 |
"base": "^0.6.7", |
| 182 |
"mocha": "*" |
| 183 |
}, |
| 184 |
"keywords": [ |
| 185 |
"dot", |
| 186 |
"nested", |
| 187 |
"notation", |
| 188 |
"object", |
| 189 |
"path", |
| 190 |
"stringify" |
| 191 |
], |
| 192 |
"verb": { |
| 193 |
"related": { |
| 194 |
"list": [ |
| 195 |
"get-value", |
| 196 |
"set-value", |
| 197 |
"has-value", |
| 198 |
"omit-value", |
| 199 |
"unset-value" |
| 200 |
] |
| 201 |
} |
| 202 |
}, |
| 203 |
"gitHead": "56f6627285b7f5b7563e6f3ffe3766d966368c17", |
| 204 |
"_id": "[email protected]", |
| 205 |
"_shasum": "297588b7b0e7e0ac08e04e672f85c1f4999e17af", |
| 206 |
"_from": ".", |
| 207 |
"_npmVersion": "3.3.12", |
| 208 |
"_nodeVersion": "5.3.0", |
| 209 |
"_npmUser": { |
| 210 |
"name": "jonschlinkert", |
| 211 |
"email": "[email protected]" |
| 212 |
}, |
| 213 |
"maintainers": [ |
| 214 |
{ |
| 215 |
"name": "jonschlinkert", |
| 216 |
"email": "[email protected]" |
| 217 |
} |
| 218 |
], |
| 219 |
"dist": { |
| 220 |
"shasum": "297588b7b0e7e0ac08e04e672f85c1f4999e17af", |
| 221 |
"tarball": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz" |
| 222 |
}, |
| 223 |
"directories": {} |
| 224 |
} |
| 225 |
}, |
| 226 |
"readme": "# to-object-path [](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._", |
| 227 |
"maintainers": [ |
| 228 |
{ |
| 229 |
"name": "jonschlinkert", |
| 230 |
"email": "[email protected]" |
| 231 |
} |
| 232 |
], |
| 233 |
"time": { |
| 234 |
"modified": "2016-01-31T16:59:38.115Z", |
| 235 |
"created": "2015-09-02T10:31:54.697Z", |
| 236 |
"0.1.0": "2015-09-02T10:31:54.697Z", |
| 237 |
"0.2.0": "2015-10-29T03:52:29.811Z", |
| 238 |
"0.3.0": "2016-01-31T16:59:38.115Z" |
| 239 |
}, |
| 240 |
"homepage": "https://github.com/jonschlinkert/to-object-path", |
| 241 |
"keywords": [ |
| 242 |
"dot", |
| 243 |
"nested", |
| 244 |
"notation", |
| 245 |
"object", |
| 246 |
"path", |
| 247 |
"stringify" |
| 248 |
], |
| 249 |
"repository": { |
| 250 |
"type": "git", |
| 251 |
"url": "git+https://github.com/jonschlinkert/to-object-path.git" |
| 252 |
}, |
| 253 |
"author": { |
| 254 |
"name": "Jon Schlinkert", |
| 255 |
"url": "https://github.com/jonschlinkert" |
| 256 |
}, |
| 257 |
"bugs": { |
| 258 |
"url": "https://github.com/jonschlinkert/to-object-path/issues" |
| 259 |
}, |
| 260 |
"license": "MIT", |
| 261 |
"readmeFilename": "README.md", |
| 262 |
"_attachments": {} |
| 263 |
} |