index.js
function gzip(data) {
  var unit8Array = new Uint8Array(toBuffer(data));
  return new Buffer(pako.gzip(unit8Array));
}
function gzip(data) {
  var unit8Array = new Uint8Array(toBuffer(data));
  return new Buffer(pako.gzip(unit8Array));
}
function gzip ( data ) { var unit8Array = new Uint8Array ( toBuffer ( data ) ) ; return new Buffer ( pako . gzip ( unit8Array ) ) ; }
Compress given String or Buffer
Compress given String or Buffer