npm_install: NPM Install

Description Usage Arguments Value Examples

View source: R/npm.R

Description

NPM Install

Usage

1
npm_install(..., scope = c("dev", "prod", "exact", "global", "optional"))

Arguments

...

Names of packages to install.

scope

Scope of the installation of the packages. This is ignored if no packages are passed to the three dots construct (...).

Value

Invisibly returns the output of the command as a character vector.

Examples

1
## Not run: npm_install("browserify", scope = "global")

npm documentation built on Jan. 19, 2022, 5:06 p.m.