spmjs / node-scp2

[MAINTAINER WANTED] A pure javascript scp program based on ssh2.
385 stars 96 forks source link

Exports client #33

Open ushastikchb1 opened 9 years ago

ushastikchb1 commented 9 years ago

In the commit on January 31, added export customer https://github.com/spmjs/node-scp2/commit/d069d9195e6a1429d84648ba3c2958c638099bd4, but after this version has not changed. Accordingly, here is a code causes an error:

var Client = require('scp2').Client; var client = new Client({ port: 22 });