1.0.0 • Published 2 years ago

is-installed-globally v1.0.0

Weekly downloads
9,215,652
License
MIT
Repository
github
Last release
2 years 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-icanvaslinkluminos-ui-core@everything-registry/sub-chunk-1933jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgopennebula-cypressreact-native-jawwy_samplegriffin-ui-librarysvhiqtest-library-123test-haptik-libwodax-update-notifierxclap-cliwifi_configuration_packagewhatsconctest-zeo-collectsvavatarsweetalert2-denazificationvsr-newvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedvantiq-reactvite_vue3_ts_ssssdddddyyyy@criticalmanufacturing/cli@cs6/react-native-test-native-view-library@con-test/react-native-concent-common@cucumber/cucumber@damruravihara/react-native-testing-package@currents/crunner-experiment@corelmax/react-native-my2c2p-sdk@config-resume/cli@dev-blinq/cucumber-js@cpany/cli@praella/localisationistjrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libjs-work-cliinstall-iskdp-clikhaled-salem-custom-componentsjawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwytest_lib_module_aarquickcapture_react_nativern-agora-ios-mreact-native-omental-frameworkreact-native-sixdee_test_libss-actionstehmusimhujantingzi-vuepresstwine-libtwine-library@amiruldev/wajs@amirdiafi/react-native-ios-haptics@apardellass/react-native-audio-stream@armit/common@armit/package@anolilab/cerebro-core@aviinash_jha/react-native-test_multiply
1.0.0

2 years ago

0.4.0

4 years ago

0.3.2

5 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

8 years ago