scp-deploy
An upload tool provided to developers using ssh
Install
$ npm install scp-deploy --save-dev
API
let deploy =
deploy([options])
-
host
String server ip -
port
Number server ssh port -
username
String server ssh username -
password
String server ssh password -
path
String server path to save files -
src
String/Array local file list -
lastmodify
String/Object last modify time must over this deadline
Licence
MIT