您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20 行
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;