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

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