README.md

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.



JohnCoene/npm documentation built on Feb. 1, 2024, 12:30 a.m.