Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
Package js minifies ECMAScript5.1 following the specifications at http://www.ecma-international.org/ecma-262/5.1/.
Package jsmin implements JavaScript minifier. It's a direct port of Doulas Crockford's JSMin.
+build gofuzz
+build gofuzz
+build gofuzz
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
+build gofuzz
+build gofuzz
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
+build gofuzz
+build gofuzz
Package sqip allows SVG-based LQIP image creation This package is a go implementation of Tobias Baldauf‘s SVG-based LQIP technique (see https://github.com/technopagan/sqip). SQIP is an evolution of the classic LQIP technique: it makes use of Primitive to generate a SVG consisting of several simple shapes that approximate the main features visible inside the image, optimizes the SVG using minify and adds a Gaussian Blur filter to it. This produces a SVG placeholder which weighs in at only ~800-1000 bytes, looks smooth on all screens and provides an visual cue of image contents to come.
Package cssmin minifies CSS. It's a port of Ryan Grove's cssmin from Ruby.
Package csminify provides functions for parsing CS:GO demos and minifying them into various formats.
Package minify provides middlewarefor minifying each request before being sent to the browser.
Package htmlmin minifies HTML.
This package contains a super fast and collection that stores a state in bits. There are two implementations you can find in the package: Both of them can help to minify the memory usage and the time spent for Set data-structure. If you need to save a uint in set, then this implementation will be much more efficient than the usual Set. The Set key is storing in 1 bit in an array or map. This data structure is useful to share the flags in JSON or store them in a database. There's an article that shares the motivation to have this implementation: https://aohorodnyk.com/post/2021-01-03-binary-flags/
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
Command cssmin-go is a utility for the minimization of CSS. It is based on the package github.com/dchest/cssmin. The minimization is performed with a sequence of transforms based on regular expressions. If no output filename is provided, the minified CSS is written to standard out. Multiple input filenames can be provided. The data from those files will be concantenated prior to minimization. Alternatively, the user can provide no input filenames, in which case input will be taken from stdin.
Package middleware provides a collection of HTTP middleware/Handler function for use with Go's net/http package, in other words any framework supporting http.Handler Minify middleware using 'tdewolff/minify' Options middleware import "github.com/jeevatkm/middleware" OR import "gopkg.in/jeevatkm/middleware.v0"
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
Package csminify provides functions for parsing CS:GO demos and minifying them into various formats.
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.
Package minify relates MIME type to minifiers. Several minifiers are provided in the subpackages.