npm.io
1.4.3 • Published 2 years ago

@types/opener

Licence
MIT
Version
1.4.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/opener

Summary

This package contains type definitions for opener (https://github.com/domenic/opener).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/opener.

index.d.ts

/// <reference types='node' />

import { ChildProcess } from "child_process";

type Callback = (error: Error, stdout: string, stderr: string) => void;
declare function opener(
    args: string | string[],
    options?: {},
    callback?: Callback,
): ChildProcess;

export = opener;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Rahul Ravikumar.