Skip to content

npmRun

Runs a command using npm checking if the command is overridden in the package.json.

Import:

import { npmRun } from '@mnaoumov/typescript-dev-toolkit/npm-run';

Signature:

function npmRun(command: string): Promise<void>

Parameters:

Parameter Type Description
command string The command to run.

Returns: Promise<void>