node-sftp-deploy

1.0.3 • Public • Published

node-sftp-deploy NPM Version

NPM Downloads dependencies Join the chat at https://gitter.im/weixin/node-sftp-deploy TmT Name License

Upload and deploy files from SFTP within username & password.

Install

npm install --save node-sftp-deploy

Usage

var sftp = require('node-sftp-deploy');
sftp({
    "host": "10.10.10.10",
    "port": "20",
    "user": "user",
    "pass": "pass",
    "remotePath": "",
    "sourcePath": "./"
}, function(){
    //Success Callback
});
 
//Support Promise
sftp(sftpConfig).then(function(){
    //Success Callback
});

Contributing

This repo is build and maintained by TmT Team. If you get any bugs or feature requests, please open a new Issue or send us Pull Request, Thank you for your contributions.

/node-sftp-deploy/

    Package Sidebar

    Install

    npm i node-sftp-deploy

    Weekly Downloads

    31

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • littledu