Skip to content
This repository has been archived by the owner on Mar 21, 2020. It is now read-only.
/ jscrush Public archive

A command line equivalent of http://www.iteral.com/jscrush/, a Javascript obfuscator/compressor. Written in Go (golang).

Notifications You must be signed in to change notification settings

xiam/jscrush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

jscrush

This is a command line version of jscrush. I made it just to compress my entry ("Have you ever tried to catch a firefly?") for the js1k.com contest. It does not strip comments nor white spaces, it just searches for string repetitions, so in order to be useful you can feed it with the output of uglifyjs. Does not have options or any cool features, it's just a quick and dirty tool that is not even optimized or beauty.

Install

$ go get github.com/xiam/jscrush

Usage

$ cat script.js | uglifyjs | jscrush > crushed.js

About

A command line equivalent of http://www.iteral.com/jscrush/, a Javascript obfuscator/compressor. Written in Go (golang).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages