mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
14 lines
289 B
TypeScript
14 lines
289 B
TypeScript
|
|
import S3rver = require('s3rver');
|
|
|
|
var s3rver = new S3rver({
|
|
port: 5694,
|
|
hostname: 'localhost',
|
|
silent: true,
|
|
indexDocument: 'index.html',
|
|
errorDocument: '',
|
|
directory: '/tmp/s3rver_test_directory'
|
|
}).run((err, hostname, port, directory) => {});
|
|
|
|
s3rver.close();
|