Check if a node package is installed already or not. If not, install it
1 | checkAndInstallNodeModule(module, addSave = TRUE)
|
module |
character string of the node module to install, e.g. 'webpack', 'd3', etc |
addSave |
logical indicating whether '–save' should be inlcuded in the install command |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.