@zkochan/pnpm
Version:
Fast, disk space efficient package manager
134 lines (133 loc) • 6.75 kB
JSON
{
"_args": [
[
{
"raw": "object-visit@^1.0.0",
"scope": null,
"escapedName": "object-visit",
"name": "object-visit",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/collection-visit"
]
],
"_from": "object-visit@>=1.0.0 <2.0.0",
"_id": "object-visit@1.0.1",
"_inCache": true,
"_location": "/object-visit",
"_nodeVersion": "7.7.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/object-visit-1.0.1.tgz_1496118320846_0.49384314101189375"
},
"_npmUser": {
"name": "jonschlinkert",
"email": "github@sellside.com"
},
"_npmVersion": "4.6.1",
"_phantomChildren": {},
"_requested": {
"raw": "object-visit@^1.0.0",
"scope": null,
"escapedName": "object-visit",
"name": "object-visit",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/collection-visit",
"/map-visit"
],
"_resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
"_shasum": "f79c4493af0c5377b59fe39d395e41042dd045bb",
"_shrinkwrap": null,
"_spec": "object-visit@^1.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/collection-visit",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"bugs": {
"url": "https://github.com/jonschlinkert/object-visit/issues"
},
"dependencies": {
"isobject": "^3.0.0"
},
"description": "Call a specified method on each value in the given object.",
"devDependencies": {
"gulp": "^3.9.1",
"gulp-eslint": "^3.0.1",
"gulp-format-md": "^0.1.12",
"gulp-istanbul": "^1.1.1",
"gulp-mocha": "^3.0.0",
"mocha": "^3.2.0"
},
"directories": {},
"dist": {
"shasum": "f79c4493af0c5377b59fe39d395e41042dd045bb",
"tarball": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js"
],
"gitHead": "2220cd6ea35008481c9e252488bcbde9ebca0983",
"homepage": "https://github.com/jonschlinkert/object-visit",
"keywords": [
"context",
"function",
"helper",
"key",
"method",
"object",
"value",
"visit",
"visitor"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "jonschlinkert",
"email": "github@sellside.com"
}
],
"name": "object-visit",
"optionalDependencies": {},
"readme": "# object-visit [](https://www.npmjs.com/package/object-visit) [](https://npmjs.org/package/object-visit) [](https://npmjs.org/package/object-visit) [](https://travis-ci.org/jonschlinkert/object-visit)\n\n> Call a specified method on each value in the given object.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save object-visit\n```\n\n## Usage\n\n```js\nvar visit = require('object-visit');\n\nvar ctx = {\n data: {},\n set: function (key, value) {\n if (typeof key === 'object') {\n visit(ctx, 'set', key);\n } else {\n ctx.data[key] = value;\n }\n }\n};\n\nctx.set('a', 'a');\nctx.set('b', 'b');\nctx.set('c', 'c');\nctx.set({d: {e: 'f'}});\n\nconsole.log(ctx.data);\n//=> {a: 'a', b: 'b', c: 'c', d: { e: 'f' }};\n```\n\n## About\n\n### Related projects\n\n* [base-methods](https://www.npmjs.com/package/base-methods): base-methods is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting… [more](https://github.com/jonschlinkert/base-methods) | [homepage](https://github.com/jonschlinkert/base-methods \"base-methods is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.\")\n* [collection-visit](https://www.npmjs.com/package/collection-visit): Visit a method over the items in an object, or map visit over the objects… [more](https://github.com/jonschlinkert/collection-visit) | [homepage](https://github.com/jonschlinkert/collection-visit \"Visit a method over the items in an object, or map visit over the objects in an array.\")\n* [define-property](https://www.npmjs.com/package/define-property): Define a non-enumerable property on an object. | [homepage](https://github.com/jonschlinkert/define-property \"Define a non-enumerable property on an object.\")\n* [map-visit](https://www.npmjs.com/package/map-visit): Map `visit` over an array of objects. | [homepage](https://github.com/jonschlinkert/map-visit \"Map `visit` over an array of objects.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\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### Running tests\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### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\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 30, 2017._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/jonschlinkert/object-visit.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"related": {
"list": [
"base-methods",
"collection-visit",
"define-property",
"map-visit"
]
},
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"lint": {
"reflinks": true
}
},
"version": "1.0.1"
}