0.2.0 • Published 6 years ago
npm-remote-install v0.2.0
npm-remote-install
npm-remote-install installs your package to a specified host.
Installation
npm install -g npm-remote-installUsage
CLI:
npm-remote-install path/to/your/pkg hostAPI
installOnRemote(pkgDir, host, options, callback)
pkgDir- A package directory to install on a remote host.
host- A remote host to connect with ssh.
options.global- A boolean value if a package installs globally.
options.sudo- A boolean value if
sudohas to be used on a remote host.
- A boolean value if
callback(err)- A callback which is called when a package has installed, or an error occurs.
License
MIT