Skip to content
Open source JavaScript Minimizer in C#
C# Other
  1. C# 99.5%
  2. Other 0.5%
Branch: master
Clone or download
Brad Robinson
Brad Robinson Broken link
Latest commit cb8fe69 Sep 19, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Doc More syntax highlighting Sep 19, 2017
MiniME Fix fior modulus assign Apr 17, 2012
MiniMETestCases Fix for css minification of #feedback is not a color Apr 27, 2011
mm Added support for CSS minification Apr 13, 2011
.gitignore
MiniME.sln Added support for CSS minification Apr 13, 2011
README.md Broken link Sep 19, 2017

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.

You can’t perform that action at this time.