@node-minify/yui
TypeScript icon, indicating that this package has built-in type declarations

8.0.6 • Public • Published

node-minify

A very light minifier Node.js module.


Build Status

YUI Compressor

Yahoo Compressor is a plugin for node-minify

It allow you to compress both JavaScript and CSS files.

Installation

npm install @node-minify/core @node-minify/yui

Usage

const minify = require('@node-minify/core');
const yui = require('@node-minify/yui');

minify({
  compressor: yui,
  type: 'js',
  input: 'foo.js',
  output: 'bar.js',
  callback: function (err, min) {}
});

minify({
  compressor: yui,
  type: 'css',
  input: 'foo.css',
  output: 'bar.css',
  callback: function (err, min) {}
});

Documentation

Visit https://node-minify.2clics.net/compressors/yui.html for full documentation

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
8.0.5-beta.00next
8.0.63latest

Version History

VersionDownloads (Last 7 Days)Published
8.0.63
8.0.50
8.0.5-beta.00
8.0.3-beta.00
8.0.2-beta.00
8.0.1-beta.00
8.0.0-beta.00
7.1.01
7.0.00
6.4.01
6.2.027
6.1.01
6.0.00
5.3.06
5.2.00
5.1.00
5.0.00
4.1.20
4.0.50
4.0.20
4.0.11
4.0.00
4.0.0-beta.70

Package Sidebar

Install

npm i @node-minify/yui

Weekly Downloads

40

Version

8.0.6

License

MIT

Unpacked Size

907 kB

Total Files

10

Last publish

Collaborators

  • srod