{"name":"is-installed-globally","version":"0.3.1","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"},"funding":"https://github.com/sponsors/sindresorhus","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.1","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.10.0","xo":"^0.25.3"},"gitHead":"f36107f2b4dd90705ec46759115ae8ae3fd40495","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.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-oiEcGoQbGc+3/iijAijrK2qFpkNoNjsHOm/5V5iaeydyrS/hnwaRCEgH5cpW0P3T1lSjV5piB7S5b5lEugNLhg==","shasum":"679afef819347a72584617fd19497f010b8ed35f","tarball":"http://registry-npm.ywwl.com/is-installed-globally/download/is-installed-globally-0.3.1.tgz","fileCount":5,"unpackedSize":3673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxZzDCRA9TVsSAnZWagAAjs4P/3HMyR0vcfS4WyP3EJQl\nkPVxGLK+iyY84tRa2dBce3TVBnYxirFVPdXvOzrYswLDSSLIOy9CDXfX0+3L\nnKQ9Rp+8VhKonJvr5bmFXyToLveta4Dq+ATwT4rKfDS8eKQa8ipFKbEwsCWU\nOGqjf9vejZgtT7ixy2dIAwDhtdx7dYSVZPV9cwAp/lIDgKBMQhuy5edH+PHk\nV+HzO2itmB4zrTMagHclMzB7RG0AGf9LtyHX/9hBRmKqGtdH5q5+R5xVA/Xy\nIi1EdX1meY4Fu1VONqeHcSbu9DwhjaYVv8QwMXmvu3i4KmZbage+3IJEGTgP\nqvgf5hqRKZ9b9fMV62vCuQ53twUzZG/IJQ71+OKZqoFEFi+3rPeaCkY8FbU2\nSaiuDJVPFHyJw1vyt4g+zm1KL2p3iwZrXjUgSe5uxYKQ1S+k6Pxiwqz3SyHY\nSDhSau5Gfy9O6icbdd/mGG37Lsl3J7jMwMRRT2SISkrVGAsJHGFf/gZVvfYO\nQS8+lFFBkCEoxFyKjWTxEh2kp11gjLXhG/FjUm2FEcwjcFBFAPimM8/4HjEm\nyYSN5fj+r96EeVlPGNUgsVv7vTsW6m9UXZSPf9JdnKMQniB2KuPANbSFADCt\nvIJs2mELhBa2EvFJxb9gi9NpwrMbKnDLHLBd+flCrvWhmC1HjdiKrVmkUPRR\nRP/N\r\n=3nst\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH0QB0WoGybZjgN4dMIvosB4y5CRzUrXYJB+i7YJopwWAiBMbWItkPieV4cLAuRBf/FhUI1MNyEn738VH/T9KYroFA=="}],"size":1753,"noattachment":false,"key":"/is-installed-globally/-/is-installed-globally-0.3.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-installed-globally_0.3.1_1573231810999_0.4119043869206982"},"_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":1573231811144,"_cnpm_publish_time":1573231811144,"dist-tags":{"latest":"1.0.1"}}