You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 satır
379B

  1. /**
  2. Check if your package was installed globally.
  3. @example
  4. ```
  5. import isInstalledGlobally = require('is-installed-globally');
  6. // With `npm install your-package`
  7. console.log(isInstalledGlobally);
  8. //=> false
  9. // With `npm install --global your-package`
  10. console.log(isInstalledGlobally);
  11. //=> true
  12. ```
  13. */
  14. declare const isInstalledGlobally: boolean;
  15. export = isInstalledGlobally;