{"name":"is-installed-globally","version":"0.3.2","description":"Check if your package was installed globally","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-installed-globally.git"},"funding":"https://github.com/sponsors/sindresorhus","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.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":"0383e5970ba3812971b3426515939a6bb34424c5","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.2","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==","shasum":"fd3efa79ee670d1187233182d5b0a1dd00313141","tarball":"http://registry-npm.ywwl.com/is-installed-globally/download/is-installed-globally-0.3.2.tgz","fileCount":5,"unpackedSize":3748,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiusFCRA9TVsSAnZWagAAFDYP/iCHRZr80qRdxljMlBTR\nB3I0lkJKmCvvwPvTvqY9LtNfrKFIvwS1ehDrTLwBZyi7wEuVFzvvWxJmdGFZ\nT0iRu2n2Zj8jkIRezbGDCvmm2ybAZt9IbZpLjxRcQeSbIOGaoF69nltRwZFh\nFaPE2CpHaoFonzCczjvS1OwcGR88W4dIo7buPCjQog3LO8mxM01Vs5uAss9n\n9fDg0I/OSE3qpszH4s4dS7dthc3MG1QAbTfemuESNATjKE6eQkiw5028aikr\nL0NbknIWKjplrbnBA3rNnnCgBmo6BdPXJaktmWKb46Z2u/d+vTZtVkHa9Q/E\nMZKsSg0CqTss8ShYPNC5fSPHNDC9sTKcI4rdUhPKv0KdX0LPtniO9r8sp0+a\nwUEyd/+KJFVWx4PcDP8PQ6t3enDs0FHG9fe9n8tL/C7w+R4hjfewaMlfKKC3\nTvY9Ijuv7EwPsL/LDGih5uRUT4wGIS0S5o7CBSRaVtTBOr1PTUoiG1nVmjRj\nGi97XdDw6n4mYcpEC+/dTqoZw4N2dSTYU2Nd4DEkIfQngfwh+iEmOPeBBqZS\npgjqKRtalt/T6TmpItXY1rSRnNDJyN1Fn29x1HEbSRdkanm9thd2rkmicjv4\n8y77Bpsm7vOqpr83RseEcDvEIqxp4PszbWxXHTiDFv26bpRU45LqWVwSo+kD\nIbxe\r\n=Fv0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFUGHLzTHaqxOlMntk0xzFkABD56e/m6jTJ5fM/Kcn3AIgc+xV09CN8vYis7SVpF5uvZmLpJw3NU+0XAKSLqepFPg="}],"size":1791,"noattachment":false,"key":"/is-installed-globally/-/is-installed-globally-0.3.2.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-installed-globally_0.3.2_1586162436572_0.5569743294221912"},"_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":1586162436718,"_cnpm_publish_time":1586162436718,"dist-tags":{"latest":"1.0.1"}}