{"name":"is-installed-globally","version":"0.3.0","description":"Check if your package was installed globally","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-installed-globally.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["global","package","globally","module","install","installed","npm","yarn","is","check","detect","local","locally","cli","bin","binary"],"dependencies":{"global-dirs":"^2.0.0","is-path-inside":"^3.0.1"},"devDependencies":{"ava":"^2.4.0","cpy":"^7.3.0","del":"^5.1.0","execa":"^2.0.4","make-dir":"^3.0.0","tsd":"^0.7.4","xo":"^0.24.0"},"gitHead":"7917804740e42e1d3ad8a80aa3e8fc34e2e4c87a","bugs":{"url":"https://github.com/sindresorhus/is-installed-globally/issues"},"homepage":"https://github.com/sindresorhus/is-installed-globally#readme","_id":"is-installed-globally@0.3.0","_nodeVersion":"8.16.1","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-4AHO2kevPQEdUHpSbGDPVPBhVRZHyuqQSyuv4YSu09VC4caIjWNO57192ysKpP60yeys6Ilpe6MnqCFgky4JgA==","shasum":"611fe6b52266ffb5465cb4c58c8470dfdebd9e20","tarball":"http://registry-npm.ywwl.com/is-installed-globally/download/is-installed-globally-0.3.0.tgz","fileCount":5,"unpackedSize":3679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgoNqCRA9TVsSAnZWagAA7fIP/R9bZCTLBeSUVm+TWm1R\npDAdZiTwif08iKz0qjApZutPVOuPEr6YmiYACkFPEww1Hh/Ft89zchin6iJS\nuC9tEnDR2IEYp5sn4FpZINYS877EKp4bHmb2R/ugme/8A6EW4mTXUlbxu8IA\njh1M4+QkN2cgpGMfJ5bvuFxJ/gB8fj94V56dNdUNr41OmPYGS7qLI0yBHuQx\nY6D14P8nlHkP60JLgGiLRAk5NhUYAC0qsJ74l4fNgqbljeziBE6QWfQlNczT\n3xnlh27HYko4JlgccI9oj9xgjxdOTWFQdJCuKS1xOpLlSJybqfPAO4FZdxbq\nBxNKKr6OcAGYN/wmip5Oge5lIld2CidBYRMq4PHa2WLX1VDQrZqUtlogBsQ1\nLr8ea+2XpPHh4CsosABTfu7eyud7EpoGn9BI+U+xWED1a2seP/pLKtBUsHYU\n0luQtVD1mexdN/33u426adz2oCqoVF6aQ5SbCXsIrMinUqI9fmYaljErW+SI\nN17JXcKi3FcrNro6VI4JfMROXFhaZkcIb2XoKYajARJ/322ojOK5vAi8TBat\nKPRH0hz1Y1dEJjGSTHFcPsJ5hyVLu9Yzv1rNFUwHjbFrPkQEb16aS/7JI53C\n3zR4qmwhmCXBI8FmrBqKx+NgcPYDb98jfcPd6pt5v1C+jwfDJ8la/9xmvaYt\nETCI\r\n=VRSv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfLx7MU0XDpuiXlZNPJ89P2knGirAfpojJZT2Z71APiAiAroZGQ3nO/vBkssKpn87c+YsH8AOcLEBn3nA30T/LuTQ=="}],"size":1759,"noattachment":false,"key":"/is-installed-globally/-/is-installed-globally-0.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-installed-globally_0.3.0_1568834410049_0.4011597480858524"},"_hasShrinkwrap":false,"readme":"# is-installed-globally\n\n> Check if your package was installed globally\n\nCan be useful if your CLI needs different behavior when installed globally and locally.\n\n## Install\n\n```sh\nnpm install is-installed-globally\n```\n\n## Usage\n\n```js\nimport isInstalledGlobally from 'is-installed-globally';\n\n// With `npm install your-package`\nconsole.log(isInstalledGlobally);\n//=> false\n\n// With `npm install --global your-package`\nconsole.log(isInstalledGlobally);\n//=> true\n```\n\n## Related\n\n- [import-global](https://github.com/sindresorhus/import-global) - Import a globally installed module\n- [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module\n- [global-directory](https://github.com/sindresorhus/global-directory) - Get the directory of globally installed packages and binaries\n","publish_time":1568834410166,"_cnpm_publish_time":1568834410166,"dist-tags":{"latest":"1.0.1"}}