npm

fun ScriptScope.npm(body: NpmScope.() -> Unit)(source)

A scoping function to execute a code block within the context of an NpmScope instance, which provides functionality to execute NPM commands.

Parameters

body

The function body that will be executed in the context of the NpmScope instance.