2.0.3 • Published 6 years ago

scp-deploy v2.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
6 years ago

scp-deploy

An upload tool provided to developers using ssh


npm.io npm.io

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 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

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago