text: var http = require('http');
  var compressor = require('../lib/node-minify');
  
  http.createServer(function(req, res) {
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Hello World\n');
  }).listen(1337, '127.0.0.1');
  
  compressor.minify({
    compressor: 'butternut',
    input: 'public/js-es6/**/*.js',
    output: 'public/js-dist/butternut-es6.js',
    options: {
      sourceMap: true
    }
  }).then(function(min) {
    // console.log(min);
  });
  
  compressor.minify({
    compressor: 'babili',
    input: 'public/js-es6/**/*.js',
    output: 'public/js-dist/babili-es6.js'
  }).then(function(min) {
    //console.log(min);
  });
  
  compressor.minify({
    compressor: 'gcc',
    input: 'public/js/**/*.js',
    output: 'public/js-dist/gcc-wildcards.js',
    sync: true,
    callback: function(err, min) {
      console.log('wildcards GCC');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'yui-js',
    input: 'public/js/**/*.js',
    output: 'public/js-dist/yui-wildcards.js',
    callback: function(err, min) {
      console.log('wildcards YUI JS');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'uglifyjs',
    input: 'public/js/**/*.js',
    output: 'public/js-dist/uglifyjs-wildcards.js',
    callback: function(err, min) {
      console.log('wildcards Uglifyjs');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'no-compress',
    input: 'public/js/**/*.js',
    output: 'public/js-dist/no-compress-wildcards.js',
    callback: function(err, min) {
      console.log('wildcards no-compress');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'gcc',
    input: 'public/js/sample.js',
    output: 'public/js-dist/gcc-onefile.js',
    callback: function(err, min) {
      console.log('GCC one file');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'gcc',
    input: [
      'public/js/sample.js',
      'public/js/sample2.js'
    ],
    output: 'public/js-dist/gcc-concat.js',
    callback: function(err, min) {
      console.log('GCC concat multi files');
      console.log(err);
      //console.log(min);
    }
  });
  
  // Using YUI Compressor
  compressor.minify({
    compressor: 'yui',
    input: 'public/css/sample.css',
    output: 'public/css-dist/yui-onefile.css',
    callback: function(err, min) {
      console.log('YUI CSS one file');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'yui-js',
    input: 'public/js/sample.js',
    output: 'public/js-dist/yui-onefile.js',
    callback: function(err, min) {
      console.log('YUI JS one file');
      console.log(err);
      //console.log(min);
    }
  });
  
  // Using UglifyJS
  compressor.minify({
    compressor: 'uglifyjs',
    input: 'public/js/sample.js',
    output: 'public/js-dist/uglify-onefile.js',
    callback: function(err, min) {
      console.log('Uglifyjs one file');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'uglifyjs',
    input: [
      'public/js/sample.js',
      'public/js/sample2.js'
    ],
    output: 'public/js-dist/uglify-concat.js',
    callback: function(err, min) {
      console.log('Uglifyjs concat multi files');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'no-compress',
    input: [
      'public/js/sample.js',
      'public/js/sample2.js'
    ],
    output: 'public/js-dist/no-compress-concat.js',
    callback: function(err, min) {
      console.log('No compress concat');
      console.log(err);
      //console.log(min);
    }
  });
  
  // Using Sqwish
  compressor.minify({
    compressor: 'sqwish',
    input: [
      'public/css/sample.css',
      'public/css/sample2.css'
    ],
    output: 'public/css-dist/sqwish-concat.css',
    callback: function(err, min) {
      console.log('Sqwish concat');
      console.log(err);
      //console.log(min);
    }
  });
  
  // Using public folder option
  compressor.minify({
    compressor: 'yui-js',
    publicFolder: 'public/js/',
    input: 'sample.js',
    output: 'public/js-dist/yui-publicfolder.js',
    callback: function(err, min) {
      console.log('YUI JS with publicFolder option');
      console.log(err);
      //console.log(min);
    }
  });
  
  compressor.minify({
    compressor: 'yui-js',
    publicFolder: 'public/js/',
    input: [
      'sample.js',
      'sample2.js'
    ],
    output: 'public/js-dist/yui-publicfolder-concat.js',
    callback: function(err, min) {
      console.log('YUI JS with publicFolder option and array');
      console.log(err);
      //console.log(min);
    }
  });
  
  console.log('Server running at http://127.0.0.1:1337/');
  