twee-compressor-extension

HTML Compressor Extension for Twee.io Framework - MVC Framework for Node.js based on Express.js

Usage no npm install needed!

<script type="module">
  import tweeCompressorExtension from 'https://cdn.skypack.dev/twee-compressor-extension';
</script>

README

twee-compressor-extension

Twee.io Logo

Gitter npm npm

HTML Compressor extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js. Makes HTML condensed and then compresses it using Gzip or Deflate

To install it use this command:

npm install twee-compressor-extension --save

Editing package.json of your application:

"dependencies": {
    "twee-compressor-extension": "*"
}

Turning extension ON in application/configs/twee.js:

module.exports = {
    "extensions": {
        "HTML Compressor": {
            "module": "twee-compressor-extension"
        }
    }
};