Displaying 1 to 16 from 16 results

optimize-js - Optimize a JavaScript file for faster initial load by wrapping eagerly-invoked functions

  •    Javascript

Optimize a JavaScript file for faster initial execution and parsing, by wrapping all immediately-invoked functions or likely-to-be-invoked functions in parentheses. See the changelog for recent changes.

csso - CSS minifier with structural optimizations

  •    Javascript

CSSO (CSS Optimizer) is a CSS minifier. It performs three sort of transformations: cleaning (removing redundant), compression (replacement for shorter form) and restructuring (merge of declarations, rulesets and so on). As a result your CSS becomes much smaller. Warning: CSSO uses early versions of CSSTree that still in active development. CSSO doesn't guarantee API behind syntax field or AST format will not change in future releases of CSSO, since it's subject to change in CSSTree. Be carefull with CSSO updates if you use syntax API until this warning removal.

gulp-cssnano - Minify CSS with cssnano.

  •    Javascript

Minify CSS with cssnano. Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

glslify-optimize - A browserify transform stream that optimizes your glslify shaders

  •    Javascript

A browserify transform stream that optimizes your glslify shaders using glsl-optimizer, the library used in Unity for mobile shader optimization.MIT. See LICENSE.md for details.




grunt-cssnano - Minify CSS

  •    Javascript

Issues with the output should be reported on the cssnano issue tracker.See the cssnano options.

cssnano-cli - A CLI for modular minifier cssnano.

  •    Javascript

A CLI for modular minifier cssnano. Pull requests are welcome. If you add functionality, then please add unit tests to cover it.

postcss-discard-duplicates - Discard duplicate rules in your CSS files with PostCSS.

  •    Javascript

Discard duplicate rules in your CSS files with PostCSS. It has to assume that your rules have already been transformed by another processor, otherwise it would be responsible for too many things.

postcss-discard-unused - Discard unused counter styles, keyframes and fonts.

  •    Javascript

Discard unused counter styles, keyframes and fonts. This module will discard unused at rules in your CSS file, if it cannot find any selectors that make use of them. It works on @counter-style, @keyframes and @font-face.


postcss-minify-font-values - Minify font declarations with PostCSS

  •    Javascript

Minify font declarations with PostCSS. This module will try to minimise the font-family, font-weight and font shorthand properties; it can unquote font families where necessary, detect & remove duplicates, and cut short a declaration after it finds a keyword. For more examples, see the tests.

postcss-normalize-url - Normalize URLs with PostCSS.

  •    Javascript

Normalize URLs with PostCSS. Note that this module will also try to normalize relative URLs, and is capable of stripping unnecessary quotes. For more examples, see the tests.

postcss-svgo - Optimise inline SVG with PostCSS.

  •    Javascript

Optimise inline SVG with PostCSS. If true, it will encode URL-unsafe characters such as <, > and &; false will decode these characters, and undefined will neither encode nor decode the original input. Note that regardless of this setting, # will always be URL-encoded.

postcss-zindex - Reduce z-index values with PostCSS.

  •    Javascript

Reduce z-index values with PostCSS. Sometimes, you may introduce z-index values into your CSS that are larger than necessary, in order to improve your understanding of how each stack relates to the others. For example, you might have a modal overlay at 5000 and the dialog for it at 5500 - so that modal classes occupy the 5xxx space.

stylehacks - Detect/remove browser hacks from CSS files.

  •    Javascript

Detect/remove browser hacks from CSS files. In its default mode, stylehacks will remove hacks from your CSS file, based on the browsers that you wish to support.

postcss-clean - PostCss plugin to minify your CSS with clean-css

  •    Javascript

Compression will be handled by clean-css, which according to this benchmark is one of the top (probably the best) libraries for minifying CSS. Note this example assumes you combined postcss-clean with other plugins (e.g. postcss-nesting).