Skip to content

JohnCoene/npm

Repository files navigation

R-CMD-check

npm

Interact with npm from the R console.

Installation

Stable

install.packages("npm")

Development

# install.packages("remotes")
remotes::install_github("JohnCoene/npm")

Example

library(npm)
npm_install("browserify", scope = "global")

npm_init()
npm_install("jquerjqueryy")
npm_run("--version")

Also see yarn.