1.0.0 • Published 5 months ago

is-installed-globally v1.0.0

Weekly downloads
9,215,652
License
MIT
Repository
github
Last release
5 months ago

is-installed-globally

Check if your package was installed globally

Can be useful if your CLI needs different behavior when installed globally and locally.

Install

npm install is-installed-globally

Usage

import isInstalledGlobally from 'is-installed-globally';

// With `npm install your-package`
console.log(isInstalledGlobally);
//=> false

// With `npm install --global your-package`
console.log(isInstalledGlobally);
//=> true

Related

update-notifiercypresscuc-gafarchetype-libraryeasy-select-rnrapid-gitreact-native-bluetooth2killi8n-react-native-fast-image@cashremit/cr-streamline-iconsairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-moduledeneme323112@ntt_app/react-native-custom-notificationmobspotsetupscriptdiscord-js-creatordiscord-music-botsreact-native-covid-sdk@saeon/ol-react@saeon/quick-form@you54f/cypressmysql-formatreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutilsdyx-react@oiti/documentoscopy-react-nativequoc-testunblock-block-save-variables@infinitebrahmanuniverse/nolb-is-icanvaslinkezhooksluminos-ui-core@everything-registry/sub-chunk-1933jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgopennebula-cypressreact-native-jawwy_sample@amirdiafi/react-native-ios-haptics@amiruldev/wajs@armit/common@armit/package@avensia-oss/garn@atek-cloud/atek@atek-cloud/self-updater-test@akhilome/np@algo-builder/algob@ali5049/react-native-buttons@azalpacir/react-native-dhp-printer@aysea/react-native-ui-library@con-test/react-native-concent-common@cs6/react-native-test-native-view-library@damruravihara/react-native-testing-package@darkobits/is-dev@currents/crunner-experiment@cucumber/cucumber@blick.dev/cli@bkrmadtya/sorting-steps@blusalt-sdk/react-native-blusalt-document-verification@builderdao/cli@brantalikp/rn-resizejawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwy@bee-icons/qwik@dev-blinq/cucumber-jssemantic-release-gitmoji-actiontwine-libtwine-libraryvite_vue3_ts_ssssdddddyyyyvsr-newvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedupdate-notifier-cjsupdate-notifier-newupdate-notifier-webpackupdate-notifier2vue-v3-yandex-metrikaxclap-cliyangtao-jswdio-cucumberwodax-update-notifierwifi_configuration_packagewhatsconczf-npzeo-collecttest-zeo-collectvalaxytingzi-vuepresswangyaling-1asmart_one_connectsvhiq
1.0.0

5 months ago

0.4.0

3 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

7 years ago