2.0.3 • Published 6 years ago
scp-deploy v2.0.3
scp-deploy
An upload tool provided to developers using ssh
Install
$ npm install scp-deploy --save-dev
API
let deploy = require('scp-deploy')
deploy({
host: '',
port: 22,
username: '',
password: '',
src: [],
path: ''
}).then((info)=>{
// do sth.
}).catch((err)=>{
// handler error
})
deploy(options)
host
String server ipport
Number server ssh portusername
String server ssh usernamepassword
String server ssh passwordpath
String server path to save filessrc
String/Array local file listlastmodify
String/Object last modify time must over this deadline
Licence
MIT
2.0.3
6 years ago
2.0.2
6 years ago
2.0.1
7 years ago
1.0.20
7 years ago
1.0.19
7 years ago
1.0.18
7 years ago
1.0.17
7 years ago
1.0.16
7 years ago
1.0.15
7 years ago
1.0.14
7 years ago
1.0.13
8 years ago
1.0.12
8 years ago
1.0.11
8 years ago
1.0.10
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago