You are looking at historical revision 26899 of this page. It may differ significantly from its current revision.

jsmin

Description

jsmin is an almost line-by-line translation of Douglas Crockford's jsmin C code to Scheme.

See the jsmin page to see what it does and what you should beware of when using it.

Author

Douglas Crockford is the author of jsmin. Mario Domenech Goulart translated it to Scheme.

Repository

The git repository for the jsmin source code is hosted by github: https://github.com/mario-goulart/jsmin.

Requirements

None

Procedures

jsmin-string

[procedure] (jsmin-string str)

Return a minified string from the given string containing javascript code.

jsmin-file

[procedure] (jsmin-file file)

Return a minified string from the contents of the given javascript file.

License

BSD

Version history

Version 2.1

Version 2.0

Version 1.0