Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

is-installed-globally

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Issues
File Explorer

Advanced tools

is-installed-globally

Check if your package was installed globally

    0.4.0latest

Version published
Maintainers
1
Weekly downloads
11,373,327
increased by1.09%

Weekly downloads

Changelog

Source

Breaking

  • Require Node.js 10 4132e98

Improvements

  • Upgrade dependencies 4132e98

https://github.com/sindresorhus/is-installed-globally/compare/v0.3.2...v0.4.0

Readme

Source

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

const isInstalledGlobally = require('is-installed-globally'); // With `npm install your-package` console.log(isInstalledGlobally); //=> false // With `npm install --global your-package` console.log(isInstalledGlobally); //=> true
  • import-global - Import a globally installed module
  • resolve-global - Resolve the path of a globally installed module
  • global-dirs - Get the directory of globally installed packages and binaries

Keywords

FAQs

What is is-installed-globally?

Check if your package was installed globally

Is is-installed-globally popular?

The npm package is-installed-globally receives a total of 9,949,098 weekly downloads. As such, is-installed-globally popularity was classified as popular.

Is is-installed-globally well maintained?

We found that is-installed-globally demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 17 Jan 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc