Zepto logo

Zepto

Minimalist JavaScript library for modern browsers, with a jQuery-compatible API
294
70
+ 1
5

What is Zepto?

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 is a tool in the Javascript UI Libraries category of a tech stack.
Zepto is an open source tool with 15K GitHub stars and 3.9K GitHub forks. Here’s a link to Zepto's open source repository on GitHub

Who uses Zepto?

Companies
246 companies reportedly use Zepto in their tech stacks, including Quora, Tamilyoga.net, and CNN.

Developers
42 developers on StackShare have stated that they use Zepto.

Zepto Integrations

Pros of Zepto
5
Lightweight

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 el.is(':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.

Zepto Alternatives & Comparisons

What are some alternatives to Zepto?
jQuery
jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.
jQuery Mobile
jQuery Mobile is a HTML5-based user interface system designed to make responsive web sites and apps that are accessible on all smartphone, tablet and desktop devices.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

Zepto's Followers
70 developers follow Zepto to keep up with related blogs and decisions.