module Opal::Util

def gzip(str)

Gzip code to check file size.
def gzip(str)
  gzip = DigestSourceCommand.new(:gzip, '-f', ', it is required to produce the .gz version')
  gzip.digest(str)
end