{"_id":"@amoo-miki/compression-webpack-plugin","_rev":"1-70db469f874fa491d311d6722056bd60","name":"@amoo-miki/compression-webpack-plugin","dist-tags":{"latest":"4.0.1-rc.1"},"versions":{"6.1.1-rc.1":{"name":"@amoo-miki/compression-webpack-plugin","version":"6.1.1-rc.1","description":"Prepare compressed versions of assets to serve them with Content-Encoding","license":"MIT","repository":{"type":"git","url":"git+https://github.com/webpack-contrib/compression-webpack-plugin.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/webpack-contrib/compression-webpack-plugin","bugs":{"url":"https://github.com/webpack-contrib/compression-webpack-plugin/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"@node-rs/xxhash":"^1.3.0","cacache":"^15.0.5","find-cache-dir":"^3.3.1","schema-utils":"^3.0.0","serialize-javascript":"^5.0.1","webpack-sources":"^1.4.3"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/core":"^7.12.3","@babel/preset-env":"^7.12.1","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","@gfx/zopfli":"^1.0.15","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.6.3","cross-env":"^7.0.2","del":"^6.0.0","del-cli":"^3.0.1","eslint":"^7.13.0","eslint-config-prettier":"^6.15.0","eslint-plugin-import":"^2.22.1","file-loader":"^6.2.0","husky":"^4.3.0","jest":"^26.6.3","lint-staged":"^10.5.1","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.1.2","standard-version":"^9.0.0","webpack":"^5.4.0","workbox-webpack-plugin":"^6.0.0-alpha.3"},"keywords":["webpack"],"gitHead":"4a10f07dbc4c07ed01b97954c1623bc1f3d574b7","_id":"@amoo-miki/compression-webpack-plugin@6.1.1-rc.1","_nodeVersion":"14.21.3","_npmVersion":"9.6.1","dist":{"integrity":"sha512-gqcTPCxfF9XBHPVYsHWhUygfR82CZgJ0ndK0hEPYerjG6Na1HpAzeINML1/o1nGQWCT5v/LP5ka01dOxZ50Kjw==","shasum":"227f6d158e3774f950faed895542f94662685cec","tarball":"https://registry.npmjs.org/@amoo-miki/compression-webpack-plugin/-/compression-webpack-plugin-6.1.1-rc.1.tgz","fileCount":8,"unpackedSize":34371,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEgaK5zg5DuTyiMe/HtdXGlCp4uQZOU7o0cVw3FzEmHAiBzYaByBvVFdg/keUEld4X4FyYZfshRSE297sG+0NW+4A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE0IeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZ4w//eec9lE+ooKslj5jBKyWE+kYhaMhBxBcw3Qu6PaE+X38mXFMt\r\nyhy94BUaIa/Y/HwJWzZqWipOf2OXWwY0DdboFeQp+duquUTw1oVGoS5iLlOU\r\n/BwT6GFQvjgCCM1FNEMvUtjgeGBDqYaXfrlFxGGQr+npwBmUf/5dqnJJG4OT\r\nOhVs/Uc8FNUBCFBAXyYklW46dQPCqpvDZ8bLpx6PkTXw41KX9byKybMq8vyI\r\nYlC3g0XC9VZKFMpV1Bj2gc5Y8eR0zVkh7nQuvq807jGQj99nr4/XD/ZX0Oga\r\nRfgBxUNbaWP1YMeNqGcwuvAf7IqkHCqW9x82VWR5/O3epkUxL30P15Pr5OuL\r\nqmSlbaY+KeSmlAt5s1uUq5h9uf//BQlM9sKZk4YN2BlH1M/DJ0UNxiGBvhzW\r\n+w/ZCQSRXgX94Rw8193bDXIISjFTL/o/piC3sCkEmB3+GApWhQ1MjRsfvemW\r\nYLMGbGOqbZwC5BG8j4+NNRjOABg1H2ljYPxXha1iNUnrNgghE9JqZXAamlGY\r\n05DeoLaErzyRiITFvNb+t9S3D60TWn0Qmqfin2VM2zkf5AjOJ8twh4tAlD/f\r\nOFack8/wJxRkSs9Q0sc+wLcstdcg/+1iCDoemuJrQ1MF/5jOit9RWaFNZpiQ\r\nUpvm0zyeFckv99pOkDl/Zf3ur8pexWA1Ers=\r\n=JN6l\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amoo_miki","email":"amoo_miki@yahoo.com"},"directories":{},"maintainers":[{"name":"amoo_miki","email":"amoo_miki@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compression-webpack-plugin_6.1.1-rc.1_1678983710755_0.14649214010101863"},"_hasShrinkwrap":false},"4.0.1-rc.1":{"name":"@amoo-miki/compression-webpack-plugin","version":"4.0.1-rc.1","description":"Prepare compressed versions of assets to serve them with Content-Encoding","license":"MIT","repository":{"type":"git","url":"git+https://github.com/AMoo-Miki/compression-webpack-plugin.git"},"author":{"name":"Tobias Koppers @sokra"},"homepage":"https://github.com/AMoo-Miki/compression-webpack-plugin","bugs":{"url":"https://github.com/AMoo-Miki/compression-webpack-plugin/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/webpack"},"main":"dist/cjs.js","engines":{"node":">= 10.13.0"},"scripts":{"start":"npm run build -- -w","clean":"del-cli dist","prebuild":"npm run clean","build":"cross-env NODE_ENV=production babel src -d dist --copy-files","commitlint":"commitlint --from=master","security":"npm audit","lint:prettier":"prettier --list-different .","lint:js":"eslint --cache .","lint":"npm-run-all -l -p \"lint:**\"","test:only":"cross-env NODE_ENV=test jest","test:watch":"npm run test:only -- --watch","test:coverage":"npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage","pretest":"npm run lint","test":"npm run test:coverage","prepare":"npm run build","release":"standard-version","defaults":"webpack-defaults"},"peerDependencies":{"webpack":"^4.0.0 || ^5.0.0"},"dependencies":{"@node-rs/xxhash":"^1.3.0","cacache":"^15.0.5","find-cache-dir":"^3.3.1","schema-utils":"^2.7.0","serialize-javascript":"^4.0.0","webpack-sources":"^1.4.3"},"devDependencies":{"@babel/cli":"^7.10.5","@babel/core":"^7.11.1","@babel/preset-env":"^7.11.0","@commitlint/cli":"^9.1.2","@commitlint/config-conventional":"^9.1.1","@gfx/zopfli":"^1.0.15","@webpack-contrib/defaults":"^6.3.0","@webpack-contrib/eslint-config-webpack":"^3.0.0","babel-jest":"^26.3.0","cross-env":"^7.0.2","del":"^5.1.0","del-cli":"^3.0.1","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.22.0","file-loader":"^6.0.0","husky":"^4.2.5","jest":"^26.3.0","lint-staged":"^10.2.11","memfs":"^3.2.0","npm-run-all":"^4.1.5","prettier":"^2.0.5","standard-version":"^8.0.2","webpack":"^4.44.1"},"keywords":["webpack"],"gitHead":"7de0317bf9cd45a96c89f7b79414e7ef2760562a","_id":"@amoo-miki/compression-webpack-plugin@4.0.1-rc.1","_nodeVersion":"14.21.3","_npmVersion":"9.6.1","dist":{"integrity":"sha512-cwh4PPeqhN1AZUB2t5LX7599rcN+/mbLneAz7EFe6oZIeip0t91jr0dQS7J7NouF43olmIfHTTcnXOskd6N9sQ==","shasum":"a9736c353bca6b8f0f35c0cccdedb7070b3459db","tarball":"https://registry.npmjs.org/@amoo-miki/compression-webpack-plugin/-/compression-webpack-plugin-4.0.1-rc.1.tgz","fileCount":8,"unpackedSize":28345,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEfd3cyGpubDMP7LKD2h5ui5n4AIYY+/PZl6Hg9uR6QFAiBBOLoej2gWWK4tBCK7+WvrECtA89QL0SnQfzaj51DUCg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkE0dzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrorBAAk2FWztMc2ffDFxeA3l+5QkSDez8D2wzC6Ng1rSIjcS8ToYif\r\ngoDW3Bcgvr7GsSTmdrfDizg8FqHxA6cZp4OzB9NsTvcXU9fsLNwSh6bo/pnj\r\nH+cjqY3jGEsZ7SZx/f8RdThYzImw7lDye6OwEEEA0apNBHGWHaupGcEGkkXi\r\n2HA3lkG7Mtv6YhdLRKjoaRkgWNuBeT6KtP9HTWsJ2KE5o0vp9/tv/NVssTOV\r\nz9ZSv8kACooRTN2WOn6GwattAqiluHI2FmMCeL/Q8qhFPnsO60jWDf7Qt+HC\r\nLkGZyUhVFsr+9o9mAhN6clj6VE5h/aGfcnGEJWF46a4cdd451QDqrPE6X6cr\r\njGBIv24eQnGoH/M6b4pdTSWfhGLqiKpNr5B8OlRhv5ujBHNnQOgsmHbB33n3\r\nl1VrQJTzOsn4/SPJ8icobjcWg2n9a1PdmVtoeyOIShoQmfW0dTGJHOuiaIim\r\nvAQFefhqwp1FKkayvlphwc2BdrqOJz6w8R68m6E0CbOeYCRTeMCBo/p9+Hkp\r\nQ9cVe/1A8RX0W8+Dqg27RkFIQ3focklZO+AwT9HN3qpdyj5tU8GbcEnd+rET\r\nyd288L6Lv9C4vYfWEYs6IBMuIHzXdIgovtMHwhkNv0vZPjSLVHvMDdcGhh4C\r\nIgfyc5rCkVZle5JHSD/sTqQxM+bG3zoDH6Q=\r\n=GI//\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"amoo_miki","email":"amoo_miki@yahoo.com"},"directories":{},"maintainers":[{"name":"amoo_miki","email":"amoo_miki@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/compression-webpack-plugin_4.0.1-rc.1_1678985074985_0.9498113460982913"},"_hasShrinkwrap":false}},"time":{"created":"2023-03-16T16:21:50.683Z","6.1.1-rc.1":"2023-03-16T16:21:50.944Z","modified":"2023-03-16T16:44:35.356Z","4.0.1-rc.1":"2023-03-16T16:44:35.194Z"},"maintainers":[{"name":"amoo_miki","email":"amoo_miki@yahoo.com"}],"description":"Prepare compressed versions of assets to serve them with Content-Encoding","homepage":"https://github.com/AMoo-Miki/compression-webpack-plugin","keywords":["webpack"],"repository":{"type":"git","url":"git+https://github.com/AMoo-Miki/compression-webpack-plugin.git"},"author":{"name":"Tobias Koppers @sokra"},"bugs":{"url":"https://github.com/AMoo-Miki/compression-webpack-plugin/issues"},"license":"MIT","readme":"<div align=\"center\">\n  <a href=\"https://github.com/webpack/webpack\">\n    <img width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\">\n  </a>\n</div>\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![tests][tests]][tests-url]\n[![cover][cover]][cover-url]\n[![chat][chat]][chat-url]\n[![size][size]][size-url]\n\n# compression-webpack-plugin\n\nPrepare compressed versions of assets to serve them with Content-Encoding.\n\n## Getting Started\n\nTo begin, you'll need to install `compression-webpack-plugin`:\n\n```console\n$ npm install compression-webpack-plugin --save-dev\n```\n\nThen add the plugin to your `webpack` config. For example:\n\n**webpack.config.js**\n\n```js\nconst CompressionPlugin = require('compression-webpack-plugin');\n\nmodule.exports = {\n  plugins: [new CompressionPlugin()],\n};\n```\n\nAnd run `webpack` via your preferred method.\n\n## Options\n\n|                      Name                       |                   Type                    |      Default       | Description                                                                                                   |\n| :---------------------------------------------: | :---------------------------------------: | :----------------: | :------------------------------------------------------------------------------------------------------------ |\n|               **[`test`](#test)**               | `{String\\|RegExp\\|Array<String\\|RegExp>}` |    `undefined`     | Include all assets that pass test assertion                                                                   |\n|            **[`include`](#include)**            | `{String\\|RegExp\\|Array<String\\|RegExp>}` |    `undefined`     | Include all assets matching any of these conditions                                                           |\n|            **[`exclude`](#exclude)**            | `{String\\|RegExp\\|Array<String\\|RegExp>}` |    `undefined`     | Exclude all assets matching any of these conditions                                                           |\n|          **[`algorithm`](#algorithm)**          |           `{String\\|Function}`            |       `gzip`       | The compression algorithm/function                                                                            |\n| **[`compressionOptions`](#compressionoptions)** |                `{Object}`                 |   `{ level: 9 }`   | Compression options for `algorithm`                                                                           |\n|          **[`threshold`](#threshold)**          |                `{Number}`                 |        `0`         | Only assets bigger than this size are processed (in bytes)                                                    |\n|           **[`minRatio`](#minratio)**           |                `{Number}`                 |       `0.8`        | Only assets that compress better than this ratio are processed (`minRatio = Compressed Size / Original Size`) |\n|           **[`filename`](#filename)**           |           `{String\\|Function}`            | `[path].gz[query]` | The target asset filename.                                                                                    |\n|              **[`cache`](#cache)**              |                `{Boolean}`                |       `true`       | Enable file caching                                                                                           |\n\n### `test`\n\nType: `String|RegExp|Array<String|RegExp>`\nDefault: `undefined`\n\nInclude all assets that pass test assertion.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      test: /\\.js(\\?.*)?$/i,\n    }),\n  ],\n};\n```\n\n### `include`\n\nType: `String|RegExp|Array<String|RegExp>`\nDefault: `undefined`\n\nInclude all assets matching any of these conditions.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      include: /\\/includes/,\n    }),\n  ],\n};\n```\n\n### `exclude`\n\nType: `String|RegExp|Array<String|RegExp>`\nDefault: `undefined`\n\nExclude all assets matching any of these conditions.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      exclude: /\\/excludes/,\n    }),\n  ],\n};\n```\n\n### `algorithm`\n\nType: `String|Function`\nDefault: `gzip`\n\nThe compression algorithm/function.\n\n#### `String`\n\nThe algorithm is taken from [zlib](https://nodejs.org/api/zlib.html).\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      algorithm: 'gzip',\n    }),\n  ],\n};\n```\n\n#### `Function`\n\nAllow to specify a custom compression function.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      algorithm(input, compressionOptions, callback) {\n        return compressionFunction(input, compressionOptions, callback);\n      },\n    }),\n  ],\n};\n```\n\n### `compressionOptions`\n\nType: `Object`\nDefault: `{ level: 9 }`\n\nCompression options for `algorithm`.\n\nIf you use custom function for the `algorithm` option, the default value is `{}`.\n\nYou can find all options here [zlib](https://nodejs.org/api/zlib.html#zlib_class_options).\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      compressionOptions: { level: 1 },\n    }),\n  ],\n};\n```\n\n### `threshold`\n\nType: `Number`\nDefault: `0`\n\nOnly assets bigger than this size are processed. In bytes.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      threshold: 8192,\n    }),\n  ],\n};\n```\n\n### `minRatio`\n\nType: `Number`\nDefault: `0.8`\n\nOnly assets that compress better than this ratio are processed (`minRatio = Compressed Size / Original Size`).\nExample: you have `image.png` file with 1024b size, compressed version of file has 768b size, so `minRatio` equal `0.75`.\nIn other words assets will be processed when the `Compressed Size / Original Size` value less `minRatio` value.\nYou can use `1` value to process assets that are smaller than the original. Use a value of Number.MAX_SAFE_INTEGER to process all assets even if they are larger than the original (useful when you are pre-zipping all assets for AWS)\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      minRatio: 0.8,\n    }),\n  ],\n};\n```\n\n### `filename`\n\nType: `String|Function`\nDefault: `[path].gz[query]`\n\nThe target asset filename.\n\n#### `String`\n\n`[file]` is replaced with the original asset filename.\n`[path]` is replaced with the path of the original asset.\n`[dir]` is replaced with the directory of the original asset.\n`[name]` is replaced with the filename of the original asset.\n`[ext]` is replaced with the extension of the original asset.\n`[query]` is replaced with the query.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      filename: '[path].gz[query]',\n    }),\n  ],\n};\n```\n\n#### `Function`\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      filename(info) {\n        // info.file is the original asset filename\n        // info.path is the path of the original asset\n        // info.query is the query\n        return `${info.path}.gz${info.query}`;\n      },\n    }),\n  ],\n};\n```\n\n### `deleteOriginalAssets`\n\nType: `Boolean`\nDefault: `false`\n\nWhether to delete the original assets or not.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      deleteOriginalAssets: true,\n    }),\n  ],\n};\n```\n\n### `cache`\n\n> ⚠ Ignored in webpack 5! Please use https://webpack.js.org/configuration/other-options/#cache.\n\nType: `Boolean|String`\nDefault: `true`\n\nEnable file caching.\nThe default path to cache directory: `node_modules/.cache/compression-webpack-plugin`.\n\n#### `Boolean`\n\nEnable/disable file caching.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      cache: true,\n    }),\n  ],\n};\n```\n\n#### `String`\n\nEnable file caching and set path to cache directory.\n\n**webpack.config.js**\n\n```js\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      cache: 'path/to/cache',\n    }),\n  ],\n};\n```\n\n## Examples\n\n### Using Zopfli\n\nPrepare compressed versions of assets using `zopfli` library.\n\n> ℹ️ `@gfx/zopfli` require minimum `8` version of `node`.\n\nTo begin, you'll need to install `@gfx/zopfli`:\n\n```console\n$ npm install @gfx/zopfli --save-dev\n```\n\n**webpack.config.js**\n\n```js\nconst zopfli = require('@gfx/zopfli');\n\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      compressionOptions: {\n        numiterations: 15,\n      },\n      algorithm(input, compressionOptions, callback) {\n        return zopfli.gzip(input, compressionOptions, callback);\n      },\n    }),\n  ],\n};\n```\n\n### Using Brotli\n\n[Brotli](https://en.wikipedia.org/wiki/Brotli) is a compression algorithm originally developed by Google, and offers compression superior to gzip.\n\nNode 10.16.0 and later has [native support](https://nodejs.org/api/zlib.html#zlib_zlib_createbrotlicompress_options) for Brotli compression in its zlib module.\n\nWe can take advantage of this built-in support for Brotli in Node 10.16.0 and later by just passing in the appropriate `algorithm` to the CompressionPlugin:\n\n**webpack.config.js**\n\n```js\nconst zlib = require('zlib');\n\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      filename: '[path].br[query]',\n      algorithm: 'brotliCompress',\n      test: /\\.(js|css|html|svg)$/,\n      compressionOptions: {\n        // zlib’s `level` option matches Brotli’s `BROTLI_PARAM_QUALITY` option.\n        level: 11,\n      },\n      threshold: 10240,\n      minRatio: 0.8,\n      deleteOriginalAssets: false,\n    }),\n  ],\n};\n```\n\n**Note** The `level` option matches `BROTLI_PARAM_QUALITY` [for Brotli-based streams](https://nodejs.org/api/zlib.html#zlib_for_brotli_based_streams)\n\n### Multiple compressed versions of assets for different algorithm\n\n**webpack.config.js**\n\n```js\nconst zlib = require('zlib');\n\nmodule.exports = {\n  plugins: [\n    new CompressionPlugin({\n      filename: '[path].gz[query]',\n      algorithm: 'gzip',\n      test: /\\.js$|\\.css$|\\.html$/,\n      threshold: 10240,\n      minRatio: 0.8,\n    }),\n    new CompressionPlugin({\n      filename: '[path].br[query]',\n      algorithm: 'brotliCompress',\n      test: /\\.(js|css|html|svg)$/,\n      compressionOptions: {\n        level: 11,\n      },\n      threshold: 10240,\n      minRatio: 0.8,\n    }),\n  ],\n};\n```\n\n## Contributing\n\nPlease take a moment to read our contributing guidelines if you haven't yet done so.\n\n[CONTRIBUTING](./.github/CONTRIBUTING.md)\n\n## License\n\n[MIT](./LICENSE)\n\n[npm]: https://img.shields.io/npm/v/compression-webpack-plugin.svg\n[npm-url]: https://npmjs.com/package/compression-webpack-plugin\n[node]: https://img.shields.io/node/v/compression-webpack-plugin.svg\n[node-url]: https://nodejs.org\n[deps]: https://david-dm.org/webpack-contrib/compression-webpack-plugin.svg\n[deps-url]: https://david-dm.org/webpack-contrib/compression-webpack-plugin\n[tests]: https://github.com/webpack-contrib/compression-webpack-plugin/workflows/compression-webpack-plugin/badge.svg\n[tests-url]: https://github.com/webpack-contrib/compression-webpack-plugin/actions\n[cover]: https://codecov.io/gh/webpack-contrib/compression-webpack-plugin/branch/master/graph/badge.svg\n[cover-url]: https://codecov.io/gh/webpack-contrib/compression-webpack-plugin\n[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg\n[chat-url]: https://gitter.im/webpack/webpack\n[size]: https://packagephobia.now.sh/badge?p=compression-webpack-plugin\n[size-url]: https://packagephobia.now.sh/result?p=compression-webpack-plugin\n","readmeFilename":"README.md"}