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

5.0.4 • Public • Published

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.

/// <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 19:02:21 GMT
  • Dependencies: @types/node

Credits

These definitions were written by .

/@types/npm-run/

    Package Sidebar

    Install

    npm i @types/npm-run

    Weekly Downloads

    731

    Version

    5.0.4

    License

    MIT

    Unpacked Size

    3.15 kB

    Total Files

    5

    Last publish

    Collaborators

    • types