~holger-seelig/cobweb.js/trunk

« back to all changes in this revision

Viewing changes to src/lib/pako/benchmark/implementations/deflate-pako-string/index.js

  • Committer: Holger Seelig
  • Date: 2017-08-22 04:53:24 UTC
  • Revision ID: holger.seelig@yahoo.de-20170822045324-4of4xxgt79669gbt
Switched to npm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'use strict'
 
2
 
 
3
var pako = require('../../../');
 
4
var utils = require('../../../lib/utils/common');
 
5
 
 
6
exports.run = function(data, level) {
 
7
  pako.deflate(data.string, {
 
8
    level: level,
 
9
    to: 'string'
 
10
  });
 
11
}