GT2/GT2-Android/node_modules/connect/lib/middleware/compress.js

21 lines
360 B
JavaScript
Raw Normal View History

/*!
* Connect - compress
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Compress:
*
* Compress response data with gzip/deflate.
*
* See [compression](https://github.com/expressjs/compression)
*
* @param {Object} options
* @return {Function}
* @api public
*/
module.exports = require('compression');