@zkochan/pnpm
Version:
Fast, disk space efficient package manager
115 lines (114 loc) • 5.14 kB
JSON
{
"_args": [
[
{
"raw": "to-object-path@^0.3.0",
"scope": null,
"escapedName": "to-object-path",
"name": "to-object-path",
"rawSpec": "^0.3.0",
"spec": ">=0.3.0 <0.4.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/cache-base"
]
],
"_from": "to-object-path@>=0.3.0 <0.4.0",
"_id": "to-object-path@0.3.0",
"_inCache": true,
"_location": "/to-object-path",
"_nodeVersion": "5.3.0",
"_npmUser": {
"name": "jonschlinkert",
"email": "github@sellside.com"
},
"_npmVersion": "3.3.12",
"_phantomChildren": {
"is-buffer": "1.1.6"
},
"_requested": {
"raw": "to-object-path@^0.3.0",
"scope": null,
"escapedName": "to-object-path",
"name": "to-object-path",
"rawSpec": "^0.3.0",
"spec": ">=0.3.0 <0.4.0",
"type": "range"
},
"_requiredBy": [
"/cache-base",
"/union-value/set-value"
],
"_resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
"_shasum": "297588b7b0e7e0ac08e04e672f85c1f4999e17af",
"_shrinkwrap": null,
"_spec": "to-object-path@^0.3.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/cache-base",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/to-object-path/issues"
},
"dependencies": {
"kind-of": "^3.0.2"
},
"description": "Create an object path from a list or array of strings.",
"devDependencies": {
"base": "^0.6.7",
"mocha": "*"
},
"directories": {},
"dist": {
"shasum": "297588b7b0e7e0ac08e04e672f85c1f4999e17af",
"tarball": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "56f6627285b7f5b7563e6f3ffe3766d966368c17",
"homepage": "https://github.com/jonschlinkert/to-object-path",
"keywords": [
"dot",
"nested",
"notation",
"object",
"path",
"stringify"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "jonschlinkert",
"email": "github@sellside.com"
}
],
"name": "to-object-path",
"optionalDependencies": {},
"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._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/to-object-path.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"related": {
"list": [
"get-value",
"set-value",
"has-value",
"omit-value",
"unset-value"
]
}
},
"version": "0.3.0"
}