feat: export FileSystem and FtpSrv

Non breaking, as it still exports FtpSrv by default
This commit is contained in:
Tyler Stewart
2017-06-09 10:10:34 -06:00
parent a234534de0
commit 4b4c809af8
2 changed files with 7 additions and 1 deletions

6
ftp-srv.js Normal file
View File

@@ -0,0 +1,6 @@
const FtpSrv = require('./src');
const FileSystem = require('./src/fs');
module.exports = FtpSrv;
module.exports.FtpSrv = FtpSrv;
module.exports.FileSystem = FileSystem;

View File

@@ -11,7 +11,7 @@
"server"
],
"license": "MIT",
"main": "src/index.js",
"main": "ftp-srv.js",
"files": [
"src"
],