Quick Links: minifiedjs.com - API - Docs Latest version: 1.1 (changelog)
Minified.js is a client-side JavaScript library that's both powerful and small. It offers jQuery-like features (DOM manipulation, animation, events, HTTP requests) and utility functions (collections, date&number formatting, date arithmetic, templates) with a single, consistent API.
The goal of Minified is to provide all the basics that you may need on an HTML page.
Feature | Minified | Minified Web | jQuery | MooTools | Zepto.js |
---|---|---|---|---|---|
CSS Selector | yes CSS1 or browser engine | yes CSS1 or browser engine | yes CSS3 subset + extensions | yes CSS3 subset + extensions | yes browser engine |
CSS Style Changes | yes | yes | yes | yes | yes |
CSS Class Changes | yes | yes | yes | yes | yes |
Element Creation | yes | yes | yes HTML-strings only | yes | yes HTML-strings only |
Element Cloning | yes | yes | yes | yes | yes |
DOM Manipulation | yes | yes | yes | yes | yes |
Animation (numeric) | yes | yes | yes | yes | no extra module, CSS only |
Animation (color) | yes | yes | no | yes | no extra module, CSS only |
Events | yes | yes | yes | yes | yes |
DOMReady | yes | yes | yes | yes | yes |
Ajax/XHR | yes | yes | yes | yes | yes |
Promises/A+-compatible | yes | yes | yes | no | no |
JSON | yes | yes | yes | yes | yes |
Cookies | yes | yes | no | yes | no |
Form Serialization | yes | yes | yes | no | yes |
Collection Helpers | yes | no | yes | yes | yes |
AMD support | yes | yes | yes | no | no |
Templates | yes | no | no | no | no |
Number Formatting | yes | no | no | no | no |
Date Formatting | yes | no | no | no | no |
Date Arithmetic | yes | no | no | no | no |
Online Builder | yes modules and functions | yes modules and functions | no | yes modules | no |
Internet Explorer 6-8 compatible | yes IE-support optional | yes IE-support optional | yes jQuery 1.x only | yes | no |
- General purpose functions to effectively write HTML-based web applications
- A very small footprint. The complete distribution will always be smaller than 8kB, and the Web module under 4kb.
- A clean and simple, easy to use API.
To build Minified, you need to install Node.js and Grunt. Then enter the Minified directory and install the dependencies:
npm install
To build the whole project including the site, use
grunt all
If you only want to compile the code, use
grunt code
Minified is Public Domain. Use, modify and distribute it any way you like. No attribution required. To the extent possible under law, Tim Jansen has waived all copyright and related or neighboring rights to Minified, as published in the /src and /dist directories of this repository. See http://creativecommons.org/publicdomain/zero/1.0/ for details.
Please note that some third-party content of the Minified web site, especially in the /srcContent directory, has been published under different open source licenses.
Thank you for checking out Minified. Tim Jansen