Questionnaire-of-the-Facebo.../node_modules/is-installed-globally/index.d.ts

20 lines
379 B
TypeScript
Raw Permalink Normal View History

2021-03-11 01:43:28 +00:00
/**
Check if your package was installed globally.
@example
```
import isInstalledGlobally = require('is-installed-globally');
// With `npm install your-package`
console.log(isInstalledGlobally);
//=> false
// With `npm install --global your-package`
console.log(isInstalledGlobally);
//=> true
```
*/
declare const isInstalledGlobally: boolean;
export = isInstalledGlobally;