Zepto logo

Zepto

Minimalist JavaScript library for modern browsers, with a jQuery-compatible API
295
71
+ 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
43 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.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
AngularJS
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
Vue.js
It is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
See all alternatives

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