source: project/wiki/eggref/4/jsmin @ 36143

Last change on this file since 36143 was 36143, checked in by Mario Domenech Goulart, 2 years ago

eggref/4/jsmin: update license and add release note for version 2.2

  • Property svnwiki:tags set to javascript
  • Property svnwiki:title set to jsmin
File size: 2.5 KB
Line 
1== jsmin
2
3[[toc:]]
4
5=== Description
6
7jsmin is an almost line-by-line translation of [[http://www.crockford.com/javascript/jsmin.html|Douglas Crockford's jsmin]] C code to Scheme.
8
9See the [[http://www.crockford.com/javascript/jsmin.html|jsmin page]] to see what it does and what you should beware of when using it.
10
11
12=== Author
13
14Douglas Crockford is the author of jsmin.  [[/users/mario-domenech-goulart|Mario Domenech Goulart]] translated it to Scheme.
15
16
17=== Repository
18
19The git repository for the jsmin source code is hosted by github:
20[[https://github.com/mario-goulart/jsmin|https://github.com/mario-goulart/jsmin]].
21
22
23
24=== Requirements
25
26None
27
28
29=== Procedures
30
31==== jsmin-string
32<procedure>(jsmin-string str)</procedure>
33
34Return a minified string from the given string containing javascript code.
35
36==== jsmin-file
37<procedure>(jsmin-file file)</procedure>
38
39Return a minified string from the contents of the given javascript file.
40
41
42=== License
43
44  Copyright (c) 2010-2018, Mario Domenech Goulart
45  All rights reserved.
46 
47  Redistribution and use in source and binary forms, with or without
48  modification, are permitted provided that the following conditions
49  are met:
50  1. Redistributions of source code must retain the above copyright
51     notice, this list of conditions and the following disclaimer.
52  2. Redistributions in binary form must reproduce the above copyright
53     notice, this list of conditions and the following disclaimer in the
54     documentation and/or other materials provided with the distribution.
55  3. The name of the authors may not be used to endorse or promote products
56     derived from this software without specific prior written permission.
57 
58  THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
59  OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
60  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
61  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
62  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
64  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
65  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
66  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
67  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
68  IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
69
70
71
72=== Version history
73
74==== Version 2.2
75* CHICKEN 5 support
76
77==== Version 2.1
78* jsmin compiled with -O3
79* Added tests
80
81==== Version 2.0
82* License changed to BSD
83
84==== Version 1.0
85* Initial release
Note: See TracBrowser for help on using the repository browser.