UNPKG

s3-autoindex

Version:

Serve the contents of a S3 bucket (private or public) over HTTP

10 lines (9 loc) 427 B
/// <reference types="node" /> import * as https from 'https'; import * as http from 'http'; import * as net from 'net'; import * as rxme from 'rxme'; export declare type Server = http.Server | https.Server | net.Server; export declare function RxHttpMatcher(cb: (t: Server, sub?: rxme.Subject) => rxme.MatchReturn): rxme.MatcherCallback; export declare function server(argv: string[]): rxme.Observable; export default server;