Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Doc
 
 
 
 
mm
 
 
 
 
 
 
 
 

README.md

MiniME - Open-source JavaScript Minifier

Sorry :( This Project is not longer under development or maintenance. The repo is kept here for posterity only.

MiniME is an open-source JavaScript minifier that runs on the .NET platform (Windows or Mono).

If you don't know what a JavaScript minifier is, you probably don't need one but there's a good explanation here.

At a Glance

  • Removes whitespace, comments and redundant braces, parentheses and semicolons.
  • Obfuscates local variables and nested functions.
  • Detects and removes constant variables.
  • Opt-in obfuscation of object properties and methods.
  • Opt-in comment preservation.
  • Optional code quality warnings (aka "lint") that won't hurt your feelings.
  • Can combine multiple scripts into one.
  • Can also compress CSS files.
  • Command line and .NET API.
  • Runs on Windows (.NET 3.5) and under Mono 2.6 (Linux/Mac OS X).
  • Tiny <50k download.

Command Line or API

Use it from the command line:

mm MyJavaScriptFile.js

or programatically from .NET code:

var mm = new MiniME.Compiler();
mm.AddFile("MyJavaScriptFile.js");
var minified=mm.CompileToString();

More Information

License

Creative Commons License
MiniME by Topten Software is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://www.toptensoftware.com/contact.

About

Open source JavaScript Minimizer in C#

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.