Skip to content

craft-hub / resolveNpmInvocation

Function: resolveNpmInvocation() ​

resolveNpmInvocation(env?): NpmInvocation

Defined in: packages/craft-hub/src/marketplace.ts:464

Resolve npm through common Node installations even when a desktop host inherits a restricted PATH.

Parameters ​

env? ​

ProcessEnv = process.env

Returns ​

NpmInvocation

Released under the MIT License.