npm_install | R Documentation |
Install and uninstall npm packages.
npm_install(..., scope = c("dev", "prod", "global")) npm_uninstall(..., scope = c("dev", "prod", "global"))
... |
Packages to install or uninstall. If no packages
are specified then this function install packages in
|
scope |
Scope of installation or uninstallation, see scopes. |
prod
- Installs/Uninstalls packages for project with --save
dev
- Installs/Uninstalls dev packages for project with --save-dev
global
- Installs/Uninstalls packages globally with -g
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.