{"_id":"global-npm","_rev":"1956989","name":"global-npm","description":"Require global npm as a local node module.","dist-tags":{"latest":"0.5.0"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"time":{"modified":"2021-12-14T09:41:18.000Z","created":"2015-05-16T17:11:18.441Z","0.5.0":"2021-10-24T08:35:25.893Z","0.4.1":"2020-03-22T14:18:39.594Z","0.4.0":"2019-09-30T05:52:21.544Z","0.3.0":"2016-01-12T08:14:52.569Z","0.2.0":"2015-10-26T03:09:52.718Z","0.1.2":"2015-07-27T01:41:14.733Z","0.1.1":"2015-05-23T00:56:37.013Z","0.1.0":"2015-05-16T17:11:18.441Z"},"users":{"daizch":true},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"versions":{"0.5.0":{"name":"global-npm","version":"0.5.0","description":"Require global npm as a local node module.","main":"index.js","scripts":{"npm_execpath":"echo $npm_execpath","test":"standard && node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"latest"},"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","devDependencies":{"standard":"latest"},"gitHead":"e1abbece6f31557db316ac05975d4636c9a07e5c","_id":"global-npm@0.5.0","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"33458ad1413a7d0db0940af0dcba0a4f9a46a9d0","size":2498,"noattachment":false,"key":"/global-npm/-/global-npm-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.5.0.tgz"},"_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"directories":{},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global-npm_0.5.0_1635064525761_0.18706795762277006"},"_hasShrinkwrap":false,"publish_time":1635064525893,"_cnpm_publish_time":1635064525893},"0.4.1":{"name":"global-npm","version":"0.4.1","description":"Require global npm as a local node module.","main":"index.js","scripts":{"npm_execpath":"echo $npm_execpath","test":"standard && node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"latest"},"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","devDependencies":{"standard":"latest"},"gitHead":"dd2b665311d3edc453b71002aae9f7a9d5e9d812","_id":"global-npm@0.4.1","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"9035d5bd1e38db44d503d96da2e3120ca5a5dcf2","size":2371,"noattachment":false,"key":"/global-npm/-/global-npm-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.4.1.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global-npm_0.4.1_1584886719329_0.642075166506626"},"_hasShrinkwrap":false,"publish_time":1584886719594,"_cnpm_publish_time":1584886719594},"0.4.0":{"name":"global-npm","version":"0.4.0","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"latest"},"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","devDependencies":{"standard":"latest"},"gitHead":"65dddbf0e76dcc5e1cf965c3ea44c847b8335361","_id":"global-npm@0.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"f6e52cb11be49088a8b1917558807aeffcc06b9a","size":2293,"noattachment":false,"key":"/global-npm/-/global-npm-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.4.0.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/global-npm_0.4.0_1569822741414_0.869852303809256"},"_hasShrinkwrap":false,"publish_time":1569822741544,"_cnpm_publish_time":1569822741544},"0.3.0":{"name":"global-npm","version":"0.3.0","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"^1.2.1"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","devDependencies":{"standard":"^5.4.1"},"gitHead":"4bfced0bd5dbb4da2fc95a5bc051027839b87dc5","_id":"global-npm@0.3.0","_shasum":"7c5115394a677d1245c4e3ba0b78bb6752797ee0","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"7c5115394a677d1245c4e3ba0b78bb6752797ee0","size":2221,"noattachment":false,"key":"/global-npm/-/global-npm-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.3.0.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"publish_time":1452586492569,"_cnpm_publish_time":1452586492569,"_hasShrinkwrap":false},"0.2.0":{"name":"global-npm","version":"0.2.0","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"standard && node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"^1.2.0"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","devDependencies":{"standard":"^5.3.1"},"gitHead":"949bc1dbb8ba61648f456d9edf99a48b72497474","_id":"global-npm@0.2.0","_shasum":"4498d6d2538d90b81300fcad997a49a27979b03c","_from":".","_npmVersion":"2.14.8","_nodeVersion":"4.2.1","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"4498d6d2538d90b81300fcad997a49a27979b03c","size":2216,"noattachment":false,"key":"/global-npm/-/global-npm-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.2.0.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"publish_time":1445828992718,"_cnpm_publish_time":1445828992718,"_hasShrinkwrap":false},"0.1.2":{"name":"global-npm","version":"0.1.2","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"^1.1.1"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","gitHead":"9b2332ad77d39bb7964d4d548c0f0e677530d8be","_id":"global-npm@0.1.2","_shasum":"a89e43592ee1bf18a00eff0a4d3b8c5e937f00b7","_from":".","_npmVersion":"3.1.3","_nodeVersion":"2.4.0","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"a89e43592ee1bf18a00eff0a4d3b8c5e937f00b7","size":2123,"noattachment":false,"key":"/global-npm/-/global-npm-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.1.2.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"publish_time":1437961274733,"_cnpm_publish_time":1437961274733,"_hasShrinkwrap":false},"0.1.1":{"name":"global-npm","version":"0.1.1","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"^1.1.1"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","gitHead":"cce20ddf7443020eeebd89c68eb1f4add681b6e7","_id":"global-npm@0.1.1","_shasum":"db0e9ba2721775f716e7ec5e9edc336353f08bfb","_from":".","_npmVersion":"2.10.1","_nodeVersion":"1.7.1","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"db0e9ba2721775f716e7ec5e9edc336353f08bfb","size":2106,"noattachment":false,"key":"/global-npm/-/global-npm-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.1.1.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"publish_time":1432342597013,"_cnpm_publish_time":1432342597013,"_hasShrinkwrap":false},"0.1.0":{"name":"global-npm","version":"0.1.0","description":"Require global npm as a local node module.","main":"index.js","scripts":{"test":"node test.js"},"author":{"name":"dracupid","email":"dracupid@gmail.com"},"license":"MIT","dependencies":{"which":"^1.1.1"},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/dracupid/global-npm.git"},"bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"homepage":"https://github.com/dracupid/global-npm#readme","gitHead":"ac8b44868686d1f4ab0cbe68a555b4f06def6af6","_id":"global-npm@0.1.0","_shasum":"1a7254cd675bfcf9c022b72ec41deeb2788526ed","_from":".","_npmVersion":"2.10.0","_nodeVersion":"2.0.1","_npmUser":{"name":"dracupid","email":"dracupid@gmail.com"},"dist":{"shasum":"1a7254cd675bfcf9c022b72ec41deeb2788526ed","size":2068,"noattachment":false,"key":"/global-npm/-/global-npm-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/global-npm/download/global-npm-0.1.0.tgz"},"maintainers":[{"name":"dracupid","email":"dracupid@gmail.com"}],"directories":{},"publish_time":1431796278441,"_cnpm_publish_time":1431796278441,"_hasShrinkwrap":false}},"readme":"global-npm\n======\nRequire global npm as a local node module.\n\n[![NPM version](https://badge.fury.io/js/global-npm.svg)](https://www.npmjs.com/package/global-npm)\n[![Deps](https://david-dm.org/dracupid/global-npm.svg?style=flat)](https://david-dm.org/dracupid/global-npm)\n[![Build Status](https://travis-ci.org/dracupid/global-npm.svg)](https://travis-ci.org/dracupid/global-npm)\n[![Build status](https://ci.appveyor.com/api/projects/status/github/dracupid/global-npm?svg=true)](https://ci.appveyor.com/project/dracupid/global-npm)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nNpm is about 25MB in size now, which is quite a heavy dependency for most modules. Luckily, nearly every node.js user has a npm installed globally.\n\nHowever, normally, you can't require a global module directly, unless:\n\n0. [set `NODE_PATH` environment variable](https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders) to the folder where global modules are installed.\n0. [link](https://docs.npmjs.com/cli/link) the local project with global module to use.\n0. [require a file path](https://nodejs.org/api/modules.html#modules_file_modules) instead of a module name.\n\nThe last one should be the best way for a third-party module.\n\nIf your module needs to depend on `npm`, why not just use the global one?\n\n## Usage\n```javascript\nvar npm = require('global-npm')\n```\n\n**If the version of npm counts, please use [semver](https://github.com/npm/node-semver) to check `npm.version` by yourself.**\n\n## License\nMIT@Dracupid\n","_attachments":{},"homepage":"https://github.com/dracupid/global-npm#readme","bugs":{"url":"https://github.com/dracupid/global-npm/issues"},"license":"MIT"}