npm.io
5.0.4 • Published 1 year ago

@types/npm-run

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

Installation

npm install --save @types/npm-run

Summary

This package contains type definitions for npm-run (https://github.com/timoxley/npm-run).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npm-run.

index.d.ts

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

import { exec, execSync, spawn, spawnSync } from "child_process";

type ExecFunction = typeof exec;

interface Runner extends ExecFunction {
    exec: ExecFunction;
    sync: typeof execSync;
    execSync: typeof execSync;
    spawnSync: typeof spawnSync;
    spawn: typeof spawn;
}

declare let npmRun: Runner;

export = npmRun;

Additional Details

  • Last updated: Mon, 05 May 2025 1921 GMT
  • Dependencies: @types/node

Credits

These definitions were written by .