HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/nodejs/@types/isexe/index.d.ts
// Type definitions for isexe 2.0
// Project: https://github.com/isaacs/isexe#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

export = isExe;

declare function isExe(path: string, options?: isExe.Options): Promise<boolean>;
declare function isExe(
    path: string,
    callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void
): void;
declare function isExe(
    path: string,
    options: isExe.Options,
    callback: (error: NodeJS.ErrnoException | undefined, isExe: boolean) => void
): void;

declare namespace isExe {
    function sync(path: string, options?: Options): boolean;

    interface Options {
        ignoreErrors?: boolean | undefined;
        uid?: number | undefined;
        gid?: number | undefined;
        pathExt?: string | undefined;
    }
}