Learn R Programming

npm (version 1.0.0)

npm_install: NPM Install

Description

NPM Install

Usage

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

Run this code
# NOT RUN {
npm_install("browserify", scope = "global")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab