- ×
Replace jQuery or MooTools with a <4kB Library
Filed under dom › frameworksShow AllMinified
Quick Links: minifiedjs.com - API - Docs Latest version: 1.1 (changelog)
Overview
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.
Feature Comparison
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 engineyes CSS1 or browser engineyes CSS3 subset + extensionsyes CSS3 subset + extensionsyes browser engineCSS Style Changes yes yes yes yes yes CSS Class Changes yes yes yes yes yes Element Creation yes yes yes HTML-strings onlyyes yes HTML-strings onlyElement Cloning yes yes yes yes yes DOM Manipulation yes yes yes yes yes Animation (numeric) yes yes yes yes no extra module, CSS onlyAnimation (color) yes yes no yes no extra module, CSS onlyEvents 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 functionsyes modules and functionsno yes modulesno Internet Explorer 6-8 compatible yes IE-support optionalyes IE-support optionalyes jQuery 1.x onlyyes no What you can expect from Minified Web
- 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.
Building
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
Licensing
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