return the full path of 'npm' executable if found.

npm_exec()

Value

executable full path in a character vector of length 1.

See also

Examples

if(exec_available("npm"))
  message(npm_exec())