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.
npm install --save node-sftp-deploy
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 });
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.