Lobashov_Ivan_PIBD-21_IP/Lab2/node_modules/union/lib/index.js
2024-01-10 22:39:31 +04:00

25 lines
610 B
JavaScript

/*
* index.js: Top-level plugin exposing HTTP features in flatiron
*
* (C) 2011, Charlie Robbins & the Contributors
* MIT LICENSE
*
*/
var union = exports;
//
// Expose version information
//
exports.version = require('../package.json').version;
//
// Expose core union components
//
union.BufferedStream = require('./buffered-stream');
union.HttpStream = require('./http-stream');
union.ResponseStream = require('./response-stream');
union.RoutingStream = require('./routing-stream');
union.createServer = require('./core').createServer;
union.errorHandler = require('./core').errorHandler;