{"_id":"global-packages","_rev":"7-b0e895a1a4bcb33a86ce7ea121803a95","name":"global-packages","description":"List global node packages","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"global-packages","version":"0.1.0","description":"List global node packages","main":"index.js","scripts":{"test":"xo"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/leo/global-packages.git"},"keywords":["global","packages","node","modules","load"],"xo":{"esnext":true,"space":true,"semicolon":false},"author":{"name":"leo"},"license":"MIT","bugs":{"url":"https://github.com/leo/global-packages/issues"},"homepage":"https://github.com/leo/global-packages#readme","devDependencies":{"xo":"^0.16.0"},"dependencies":{"fs-promise":"^0.5.0","global-modules":"^0.2.3"},"gitHead":"d8eb2346424ba9aaa3eb42799c14eb83b2f00cf0","_id":"global-packages@0.1.0","_shasum":"8645f828d187ba0b2efe1129bee03f1ebd16282a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"8645f828d187ba0b2efe1129bee03f1ebd16282a","tarball":"https://registry.npmjs.org/global-packages/-/global-packages-0.1.0.tgz","integrity":"sha512-m1qB4rbwJbQNYtxgRJZbJR8McRFAE73o6CIzxyy3ezTawoVskW4T54iDH1Cyw88JBpV9cAbnvjyUkXJgvUUIvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALrNfH/O85c7fIf0YGVOG3+casJuOF+lA7Zh4XsYNBQAiEA/kiRGF8i/+njbMOzC72a/rN4Ae7uHE3jBrO0N0AIG/A="}]},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/global-packages-0.1.0.tgz_1473598044624_0.4708958398550749"}},"0.1.1":{"name":"global-packages","version":"0.1.1","description":"List global node packages","main":"index.js","scripts":{"test":"xo"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/leo/global-packages.git"},"keywords":["global","packages","node","modules","load"],"xo":{"esnext":true,"space":true,"semicolon":false},"author":{"name":"leo"},"license":"MIT","bugs":{"url":"https://github.com/leo/global-packages/issues"},"homepage":"https://github.com/leo/global-packages#readme","devDependencies":{"xo":"^0.16.0"},"dependencies":{"fs-promise":"^0.5.0","which-promise":"^1.0.0"},"gitHead":"bb532467dfb3a5875731c001fc5e6a6e6e559083","_id":"global-packages@0.1.1","_shasum":"cb9df5fd6a9c839581231baa8b6829dc32fd1072","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"cb9df5fd6a9c839581231baa8b6829dc32fd1072","tarball":"https://registry.npmjs.org/global-packages/-/global-packages-0.1.1.tgz","integrity":"sha512-SSScmjyMshP6fetMc6gOeB1fo2jzXh0/uxzZZXZxlnErkA/lQCbABci6xBBi1yujj9dvmd/U3d96DHv8ZkSzoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWbFNLgJbDYj0hPmf7cVrX8hNQppV9j/xayTqpcAnbTAiEAznEil0RLNb0Mcsx/pvMJRIi2VB8h8KJISfl3ur3JMF8="}]},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/global-packages-0.1.1.tgz_1473599586512_0.2576599195599556"}},"1.0.0":{"name":"global-packages","version":"1.0.0","description":"List global node packages","main":"index.js","scripts":{"lint":"xo","unit":"ava","test":"npm run lint && npm run unit"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/zeit/global-packages.git"},"keywords":["global","packages","node","modules","load"],"xo":{"esnext":true,"space":true,"semicolon":false},"author":{"name":"leo"},"license":"MIT","devDependencies":{"ava":"0.19.1","xo":"0.18.2"},"dependencies":{"fs-promise":"2.0.3","path-type":"2.0.0","which-promise":"1.0.0"},"gitHead":"9e54139ecc9bb20931f86edcd6dca80a89f857a4","bugs":{"url":"https://github.com/zeit/global-packages/issues"},"homepage":"https://github.com/zeit/global-packages#readme","_id":"global-packages@1.0.0","_shasum":"865888075d5fece6afa25d30fe1a726762bf1028","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"865888075d5fece6afa25d30fe1a726762bf1028","tarball":"https://registry.npmjs.org/global-packages/-/global-packages-1.0.0.tgz","integrity":"sha512-Jhz+9Cack87p0Jt+up1jfNJ61NjYWxn4Hqw/FABddwwdyUR5QKed4hiqr++/TVP1X5ok2UPCdGFnko3mPYWWoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFxk3Mh4U2n/kRFwFI4YT3H2HrQJuhSkGMhA1q/4E7GyAiEA8uGmFOk8Vh7WbYlVs04x/SumRMBqZlfV7u8ws+QZd38="}]},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/global-packages-1.0.0.tgz_1494605018189_0.9896417616400868"}},"1.0.1":{"name":"global-packages","version":"1.0.1","description":"List global node packages","main":"index.js","scripts":{"lint":"xo","unit":"ava","test":"npm run lint && npm run unit"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/zeit/global-packages.git"},"keywords":["global","packages","node","modules","load"],"xo":{"esnext":true,"space":true,"semicolon":false},"author":{"name":"leo"},"license":"MIT","devDependencies":{"ava":"0.19.1","xo":"0.18.2"},"dependencies":{"fs-promise":"2.0.3","global-modules":"0.2.3","path-type":"2.0.0"},"gitHead":"3733dd181c84b24e140c10a7f07eb7d671bb14cd","bugs":{"url":"https://github.com/zeit/global-packages/issues"},"homepage":"https://github.com/zeit/global-packages#readme","_id":"global-packages@1.0.1","_shasum":"300d814ecc562e2407706f2678ffaa60dfdd8749","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"300d814ecc562e2407706f2678ffaa60dfdd8749","tarball":"https://registry.npmjs.org/global-packages/-/global-packages-1.0.1.tgz","integrity":"sha512-hEgM8C4j2xulIBKN7tUt2AIPsBOYZLZl00q8P5ePpTzluRzf6pv6l4wvVeAVak/wtC/zcYLGg7aXKermXor+OQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuB7yE4l0Qzx5U39SmIzR6T6tCgLgGmQShVf0QkNu51AIhANFtkMyPGtKmTolohtl7TOTDyIZrLhClObsx8zgKg0v4"}]},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global-packages-1.0.1.tgz_1496751535985_0.44679080974310637"}},"1.0.2":{"name":"global-packages","version":"1.0.2","description":"List global node packages","main":"index.js","scripts":{"lint":"xo","unit":"ava","test":"npm run lint && npm run unit"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/zeit/global-packages.git"},"keywords":["global","packages","node","modules","load"],"xo":{"esnext":true,"space":true,"semicolon":false},"author":{"name":"leo"},"license":"MIT","devDependencies":{"ava":"0.19.1","xo":"0.18.2"},"dependencies":{"fs-promise":"2.0.3","global-modules":"0.2.3","path-type":"2.0.0"},"gitHead":"843094793cda75d749f02dd556b61035516c1875","bugs":{"url":"https://github.com/zeit/global-packages/issues"},"homepage":"https://github.com/zeit/global-packages#readme","_id":"global-packages@1.0.2","_shasum":"b4314dc84f3b5ee6d76679d285d3e3447712e4ce","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"b4314dc84f3b5ee6d76679d285d3e3447712e4ce","tarball":"https://registry.npmjs.org/global-packages/-/global-packages-1.0.2.tgz","integrity":"sha512-PGobpn3ekpd61WH5U/6WXbTHG9gbNUrr2+v/Foifi3KfB5f4SDN5knUGDFe6n2lbi8QXghvLarFghFXpxLjDxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDreCywvY/AMexTDSoA+1QzecIXfYBgTizeaXv4RzkkswIhAITXUd1iMWPAhEyRwmCCUW6W2lekXJPkFw3n35DeJavD"}]},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global-packages-1.0.2.tgz_1497958512205_0.0040609585121273994"}}},"readme":"# global-packages\n\n[![Build Status](https://travis-ci.org/zeit/global-packages.svg?branch=master)](https://travis-ci.org/zeit/global-packages)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![Slack Channel](http://zeit-slackin.now.sh/badge.svg)](https://zeit.chat)\n\nList global Node packages easily.\n\n## Usage\n\nSimply install the package:\n\n```bash\nnpm install --save global-packages\n```\n\nAfter that, load it:\n\n```js\nconst globalPackages = require('global-packages')\n\nlet packages\n\ntry {\n  packages = await globalPackages()\n} catch (err) {\n  console.error(err)\n  return\n}\n\nconsole.log(packages)\n```\n\nThis is how the output will look like:\n\n```js\n[\n  {\n    name: 'args',\n    linked: true,\n    path: '/usr/local/lib/node_modules/args'\n  },\n  {\n    name: 'now',\n    linked: false,\n    path: '/usr/local/lib/node_modules/now'\n  },\n  {\n    name: 'serve',\n    linked: false,\n    path: '/usr/local/lib/node_modules/serve'\n  },\n  ...\n]\n```\n\n## Contribute\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Link the package to the global module directory: `npm link`\n3. Transpile the source code and watch for changes: `npm start`\n4. Within the module you want to test your local development instance of global-packages, just link it to the dependencies: `npm link global-packages` and load it!\n\n## Author\n\nLeo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [▲ZEIT](https://zeit.co)\n","maintainers":[{"name":"leo","email":"leo@zeit.co"}],"time":{"modified":"2022-06-18T12:56:12.849Z","created":"2016-09-11T12:47:26.286Z","0.1.0":"2016-09-11T12:47:26.286Z","0.1.1":"2016-09-11T13:13:08.166Z","1.0.0":"2017-05-12T16:03:40.217Z","1.0.1":"2017-06-06T12:18:56.909Z","1.0.2":"2017-06-20T11:35:13.279Z"},"homepage":"https://github.com/zeit/global-packages#readme","keywords":["global","packages","node","modules","load"],"repository":{"type":"git","url":"git+https://github.com/zeit/global-packages.git"},"author":{"name":"leo"},"bugs":{"url":"https://github.com/zeit/global-packages/issues"},"license":"MIT","readmeFilename":"readme.md"}