{"name":"is-installed-globally","version":"0.2.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":"^0.1.1","is-path-inside":"^2.1.0"},"devDependencies":{"ava":"^1.4.1","cpy":"^7.2.0","del":"^4.1.0","execa":"^1.0.0","make-dir":"^3.0.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"4a428988d6f836d36e664d62dba2fec39949ef34","bugs":{"url":"https://github.com/sindresorhus/is-installed-globally/issues"},"homepage":"https://github.com/sindresorhus/is-installed-globally#readme","_id":"is-installed-globally@0.2.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-g3TzWCnR/eO4Q3abCwgFjOFw7uVOfxG4m8hMr/39Jcf2YvE5mHrFKqpyuraWV4zwx9XhjnVO4nY0ZI4llzl0Pg==","shasum":"8cde07ade508458b51f14bcda315ffaf4898de30","tarball":"http://registry-npm.ywwl.com/is-installed-globally/download/is-installed-globally-0.2.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\nwsFcBAEBCAAQBQJc2CDUCRA9TVsSAnZWagAAuZIP/0b3HLmRIXyyNe2uY3u/\ngfxzyuKx7YCqPoHVi+EEyzllDYHtprQlE2wuqJS6lTXQExedmMV6iJAtUD5+\nRwE0ZfEMKOeK/J8JKiSxRnf5ONHc23P/WBqmShH+DRlDlbSu4sW6ZGLaHHRo\nQpXfXYMvlT51ky5J8nUfhSwCDL9Ckm/vWaTJ7UAZAxmcvnf4yLijigKFQL0i\nxGey292K4KP/HEBtDw7yd160eRV6TX0wvc8mJ6QWiXfA/t524pX7pAdpzhxY\nExWAq+cSgTGZ4z4fUfRBkExZRjuTYIZp98eVxyLcL1xkH+GJ/yf5eh/p6hdK\nUH623L1lh6NZ9Q2VmGiEksr7Wb5+pc87vP08oXxkgKTtMP3Iboo/6Nmr181w\nbf1kuMBb4Oxy7DknYlDsHNEn9MLh47YfKriXNmrHSenVYrm3EQNwAjsU4a5G\nirzUDc0T89kc9sOFsdJntbXkHErts8UHYnxHyyFR/AFjFNf2wJCVwaCIPd7V\nAzpNhr7+MQDMcJsMBpasQAhjtKwVkZC9RrnnksGuc4NwVNNNnZO0vN5fWjrk\nETOXUj6tAE3BnOqmtc3+/ch5BkpAQgrNT3DmiAn6WuJmC5LY13r+yDhvbVQh\nfoYz9vUKiA5s/HNitW43kH8KcpzJEsWrAXv2Gbv7d1jXiDXb1xLgkSVHGqba\nWwDa\r\n=kmsU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJxAbymFlXEKKrt7xyLrEUSq8fS8zzsig+mAC/NfHuiAiBuesLmiRkzLcihe+DacG6tIpppkRaht4xX6Yu7VNBFHw=="}],"size":1765,"noattachment":false,"key":"/is-installed-globally/-/is-installed-globally-0.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-installed-globally_0.2.0_1557668051770_0.923316711899127"},"_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":1557668051901,"_cnpm_publish_time":1557668051901,"dist-tags":{"latest":"1.0.1"}}