Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use 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 open source software and is released under the developer and business-friendly MIT license. Note that some optional features of Zepto specifically target mobile browsers; as the original project goal was to specifically provide a leaner alternative to jQuery for the mobile web. Zepto is a good choice for browser extensions (for Safari, Chrome and Firefox) and to develop HTML-based views within native app frameworks, such as PhoneGap. In short, Zepto is expected to work in every modern browser and browser-like environment.
Features
- Create a Zepto collection object by performing a CSS selector, wrapping DOM nodes, or creating elements from an HTML string
- When an HTML string is given, use it to create DOM nodes
- If you use jQuery, you already know how to use Zepto
- Supports Safari 6+ (Mac) Chrome 30+ (Windows, Mac, Android, iOS, Linux, Chrome OS) Firefox 24, and more
- Zepto is a good choice for browser extensions (for Safari, Chrome and Firefox) and to develop HTML-based views within native app frameworks
- Zepto is expected to work in every modern browser and browser-like environment