You are looking at historical revision 27938 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
- jsmin compiled with -O3
- Added tests
Version 2.0
- License changed to BSD
Version 1.0
- Initial release