-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
35 lines (28 loc) · 1.97 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"use strict";
module.exports.Application = require('./lib/Application.js').Application;
module.exports.RouteURITemplate = require('./lib/RouteURITemplate.js').RouteURITemplate;
module.exports.Cache = require('./lib/Cache.js').Cache;
module.exports.Gateway = require('./lib/Gateway.js').Gateway;
module.exports.Negotiate = require('./lib/Negotiate.js').Negotiate;
module.exports.First = require('./lib/First.js').First;
module.exports.TemplateRouter = require('uri-template-router');
module.exports.ResponseTransform = require('http-transform').ResponseTransform;
module.exports.ResponsePassThrough = require('http-transform').ResponsePassThrough;
// Old forms
module.exports.ServerResponseTransform = require('http-transform').ResponseTransform;
module.exports.PassThrough = require('http-transform').ResponsePassThrough;
module.exports.Resource = require('./lib/Route.js').Resource;
module.exports.TraceResource = require('./lib/Route.js').TraceResource;
module.exports.ResponseMessage = require('./lib/ResponseMessage.js').ResponseMessage;
module.exports.errors = require('./lib/Error.js').errors;
module.exports.Route = require('./lib/Route.js').Route;
module.exports.TransformRoute = require('./lib/TransformRoute.js').TransformRoute;
module.exports.RouteFilesystem = require('./lib/RouteFilesystem.js').RouteFilesystem;
module.exports.RouteStaticFile = require('./lib/RouteFilesystem.js').RouteFilesystem; // old name
module.exports.RouteLocalReference = require('./lib/RouteLocalReference.js').RouteLocalReference;
module.exports.RouteRedirect = require('./lib/RouteRedirect.js').RouteRedirect;
module.exports.RouteSeeOther = require('./lib/RouteRedirect.js').RouteSeeOther;
module.exports.RouteTemporaryRedirect = require('./lib/RouteRedirect.js').RouteTemporaryRedirect;
module.exports.RoutePermanentRedirect = require('./lib/RouteRedirect.js').RoutePermanentRedirect;
module.exports.Servers = require('./lib/Servers.js').Servers;
module.exports.HTTPServer = require('./lib/Servers.js').HTTPServer;