An open API service indexing awesome lists of open source software.

https://github.com/JohnCoene/npm

npm from R
https://github.com/JohnCoene/npm

Last synced: 4 months ago
JSON representation

npm from R

Awesome Lists containing this project

README

        

[![R-CMD-check](https://github.com/JohnCoene/npm/workflows/R-CMD-check/badge.svg)](https://github.com/JohnCoene/npm/actions)

# npm

Interact with [npm](https://www.npmjs.com/) from the R console.

## Installation

__Stable__

``` r
install.packages("npm")
```

__Development__

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

## Example

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

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

Also see [yarn](https://github.com/JohnCoene/yarn).