GO-JSMINIFY

command module
v0.0.0-...-03ba2fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2016 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go-jsminify

A pure go based javascript minify tool.

Motivation

I needed a simple tool that can do js-minify on a target folder.

Installation

go get github.com/ibrahimnoorz/go-jsminify

Usage

*Note: Running this tool will overwrite existing files with minified version. Make a backup first.

  go build go-jsminify.go

  go-jsminify \<sourcecodefolder\> \<workercount\> -v

  go-jsminify c:\myproject\jsfiles 3 -v

  -v = verbose mode

TODO

  • Add support for writting the affected files to new location and renaming
  • Add logging support
  • Add support for changing the minifying library/tools

Credits

go-jsminify uses a pure go javascript minify library available at minify

Licence

Released under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址