@types/command-exists
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

Installation

npm install --save @types/command-exists

Summary

This package contains type definitions for command-exists (https://github.com/mathisonian/command-exists).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/command-exists.

index.d.ts

export = commandExists;

declare function commandExists(commandName: string): Promise<string>;
declare function commandExists(
    commandName: string,
    cb: (error: null, exists: boolean) => void,
): void;

declare namespace commandExists {
    function sync(commandName: string): boolean;
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/command-exists

      Weekly Downloads

      106,329

      Version

      1.2.3

      License

      MIT

      Unpacked Size

      3.19 kB

      Total Files

      5

      Last publish

      Collaborators

      • types