get_npm_command: Get npm command

View source: R/env.R

get_npm_commandR Documentation

Get npm command

Description

Returns the path to the npm executable, preferring locally installed versions managed by shinyelectron.

Usage

get_npm_command(prefer_local = TRUE)

Arguments

prefer_local

Logical. Whether to prefer the local shinyelectron-managed installation over the system installation. Default TRUE.

Value

Character string path to npm executable


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.