https://github.com/gravityblast/go-jsmin
Douglas Crockford's JSMin in Go. Package and command. #golang
https://github.com/gravityblast/go-jsmin
Last synced: about 1 year ago
JSON representation
Douglas Crockford's JSMin in Go. Package and command. #golang
- Host: GitHub
- URL: https://github.com/gravityblast/go-jsmin
- Owner: gravityblast
- License: mit
- Created: 2014-05-20T15:27:44.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-27T11:33:32.000Z (over 11 years ago)
- Last Synced: 2025-04-12T04:09:27.497Z (about 1 year ago)
- Language: Go
- Size: 223 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-jsmin
========
Douglas Crockford's JSMin in Go. Package and command. #golang
## Usage
The command accepts a stream from the standard input and prints the compressed
version on the standard output.
```
$ go get github.com/web-assets/go-jsmin/cmd/gojsmin
$ gojsmin < original.js > compressed.js
```
## Development setup
```
$ mkdir -p $GOPATH/src/github.com/web-assets
$ git clone https://github.com/web-assets/go-jsmin $GOPATH/src/github.com/web-assets/go-jsmin && cd $_
$ make setup
$ make
```