mako-gzip

A mako plugin for compressing files using gzip


Keywords
mako-plugin, gzip, compression
License
MIT
Install
npm install mako-gzip@1.0.1

Documentation

mako-gzip

A mako plugin for compressing files using gzip.

npm version build status coverage npm dependencies npm dev dependencies nsp status code style

Purpose

  • compresses files using node's zlib.gzip into a new file
  • the new file is the same path as the input, only given a .gz suffix (eg: index.js -> index.js.gz)

API

gzip(extensions)

The list of file extensions to apply this plugin for.