{"name":"is-installed-globally","version":"0.1.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":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["global","package","globally","module","install","installed","npm","yarn","is","check","detect","local","locally","cli","bin","binary"],"dependencies":{"global-dirs":"^0.1.0","is-path-inside":"^1.0.0"},"devDependencies":{"ava":"*","execa":"^0.7.0","xo":"*"},"gitHead":"c8de3eb10412caceb8f005a4ad2b2e91b09caedb","bugs":{"url":"https://github.com/sindresorhus/is-installed-globally/issues"},"homepage":"https://github.com/sindresorhus/is-installed-globally#readme","_id":"is-installed-globally@0.1.0","_shasum":"0dfd98f5a9111716dd535dda6492f67bf3d25a80","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0dfd98f5a9111716dd535dda6492f67bf3d25a80","tarball":"http://registry-npm.ywwl.com/is-installed-globally/download/is-installed-globally-0.1.0.tgz","integrity":"sha512-ERNhMg+i/XgDwPIPF3u24qpajVreaiSuvpb1Uu0jugw7KKcxGyCX8cgp8P5fwTmAuXku6beDHHECdKArjlg7tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID5pVKXobIqK7wS4vzTOheLvCBCp+sSRsoHG2fhNDug0AiEAzoKORsiBk/Cmw/V2GXL8xp+iGzyaEdetPy/3/4xBwhs="}],"size":1630,"noattachment":false,"key":"/is-installed-globally/-/is-installed-globally-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-installed-globally-0.1.0.tgz_1498431002972_0.9673243085853755"},"directories":{},"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":1498431003892,"_cnpm_publish_time":1498431003892,"dist-tags":{"latest":"1.0.1"}}