mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
15 lines
326 B
TypeScript
15 lines
326 B
TypeScript
/// <reference path="s3rver.d.ts" />
|
|
|
|
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();
|