Learn R Programming

npm

Interact with npm from the R console.

Installation

# 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.

Copy Link

Version

Install

install.packages('npm')

Monthly Downloads

15

Version

1.0.0

License

LGPL (>= 3)

Maintainer

Last Published

January 19th, 2022

Functions in npm (1.0.0)

npm_find

Find NPM
npm_path_env_set

NPM Path Environment
npm_path

Set Path to NPM Installation
npm_init

NPM Init
npm_install

NPM Install
npm_outdated

Outdated Packages
package_message

Package Installation Messages
npm_run

NPM Run
npm_update

Update Packages
packages_flat

Flatten Packages
system_2

Wrapper on System Call
npm_audit

NPM Audit Fix
does_exist

Assertions