https://github.com/JohnCoene/npm
npm from R
https://github.com/JohnCoene/npm
Last synced: 4 months ago
JSON representation
npm from R
- Host: GitHub
- URL: https://github.com/JohnCoene/npm
- Owner: JohnCoene
- License: other
- Created: 2021-02-07T12:19:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T21:47:59.000Z (almost 2 years ago)
- Last Synced: 2025-04-19T07:58:35.338Z (8 months ago)
- Language: R
- Homepage:
- Size: 37.1 KB
- Stars: 19
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - JohnCoene/npm - npm from R (R)
README
[](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).