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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T21:47:59.000Z (about 1 year ago)
- Last Synced: 2024-11-25T11:10:03.248Z (5 months ago)
- Language: R
- Homepage:
- Size: 37.1 KB
- Stars: 19
- Watchers: 4
- 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).