Minimalist JavaScript library for modern browsers, with a jQuery-compatible API
Companies using Zepto
Why people like Zepto
Add a one-liner

While 100% jQuery coverage is not a design goal, the APIs provided match their jQuery counterparts. The goal is to have a ~5-10k modular library that downloads and executes fast, with a familiar and versatile API, so you can concentrate on getting stuff done.

Zepto's Features
  • zepto - Core module
  • contains most methods
  • event - Event handling via on() & off()
  • ajax - XMLHttpRequest and JSONP functionality
  • form - Serialize & submit web forms
  • ie - Add support for Internet Explorer 10+ on desktop and Windows Phone 8.
  • detect - Provides $.os and $.browser information
  • fx - The animate() method
  • fx_methods - Animated show, hide, toggle, and fade*() methods.
  • assets - Experimental support for cleaning up iOS memory after removing image elements from the DOM.
  • data - A full-blown data() method, capable of storing arbitrary objects in memory.
  • deferred - Provides $.Deferred promises API. Depends on the "callbacks" module.
  • When included, $.ajax() supports a promise interface for chaining callbacks.
  • callbacks - Provides $.Callbacks for use in "deferred" module.
  • selector - Experimental jQuery CSS extensions support for functionality such as $('div:first') and':visible').
  • touch - Fires tap and swipe–related events on touch devices. This works with both `touch` (iOS, Android) and `pointer` events (Windows Phone).
  • gesture - Fires pinch gesture events on touch devices
  • stack - Provides andSelf & end() chaining methods
  • ios3 - String.prototype.trim and Array.prototype.reduce methods (if they are missing) for compatibility with iOS 3.x.

Explore other Libraries tools that are known for: