{"_id":"zepto","_rev":"2768267","name":"zepto","description":"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.","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"time":{"modified":"2022-05-10T08:01:23.000Z","created":"2012-07-16T13:47:04.146Z","1.2.0":"2016-07-13T20:53:40.595Z","1.1.7":"2016-07-13T20:35:37.371Z","1.1.6":"2016-07-13T18:37:00.035Z","1.0.1":"2015-12-23T15:02:28.205Z","1.0.0":"2015-12-23T14:49:53.509Z","0.0.4":"2013-05-06T14:25:35.131Z","0.0.3":"2012-08-03T20:35:26.997Z","0.0.2":"2012-07-16T13:49:57.978Z","0.0.1":"2012-07-16T13:47:04.146Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/madrobby/zepto.git"},"versions":{"1.2.0":{"name":"zepto","version":"1.2.0","main":"dist/zepto.js","homepage":"http://zeptojs.com","scripts":{"test":"coffee make test","dist":"coffee make dist","start":"coffee test/server.coffee"},"repository":{"type":"git","url":"git+https://github.com/madrobby/zepto.git"},"license":"MIT","devDependencies":{"uglify-js":"2.4.x","express":"3.1.x","coffee-script":"1.5.x","shelljs":"0.1.x"},"gitHead":"12746ff4f78321220e9cda2c67102f01b6ebf9c7","description":"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.","bugs":{"url":"https://github.com/madrobby/zepto/issues"},"_id":"zepto@1.2.0","_shasum":"e127bd9e66fd846be5eab48c1394882f7c0e4f98","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"dist":{"shasum":"e127bd9e66fd846be5eab48c1394882f7c0e4f98","size":54518,"noattachment":false,"key":"/zepto/-/zepto-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-1.2.0.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/zepto-1.2.0.tgz_1468443217488_0.9017651309259236"},"directories":{},"publish_time":1468443220595,"_hasShrinkwrap":false,"_cnpm_publish_time":1468443220595,"_cnpmcore_publish_time":"2021-12-16T12:50:57.968Z"},"1.1.7":{"name":"zepto","version":"1.1.7","main":"dist/zepto.js","homepage":"http://zeptojs.com","scripts":{"test":"coffee make test","dist":"coffee make dist","start":"coffee test/server.coffee"},"repository":{"type":"git","url":"git+https://github.com/madrobby/zepto.git"},"license":"MIT","devDependencies":{"uglify-js":"2.4.x","express":"3.1.x","coffee-script":"1.5.x","shelljs":"0.1.x"},"gitHead":"952bf8c0134d225b9ee0b352de7aae4e00637f3c","description":"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.","bugs":{"url":"https://github.com/madrobby/zepto/issues"},"_id":"zepto@1.1.7","_shasum":"8becf9a6353716432aef5d752775ebbdc754cf42","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"dist":{"shasum":"8becf9a6353716432aef5d752775ebbdc754cf42","size":53862,"noattachment":false,"key":"/zepto/-/zepto-1.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-1.1.7.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/zepto-1.1.7.tgz_1468442134691_0.8282545090187341"},"directories":{},"publish_time":1468442137371,"_hasShrinkwrap":false,"_cnpm_publish_time":1468442137371,"_cnpmcore_publish_time":"2021-12-16T12:50:58.228Z"},"1.1.6":{"name":"zepto","version":"1.1.6","main":"dist/zepto.js","homepage":"http://zeptojs.com","scripts":{"test":"coffee make test","dist":"coffee make dist","start":"coffee test/server.coffee"},"repository":{"type":"git","url":"git+https://github.com/madrobby/zepto.git"},"license":"MIT","devDependencies":{"uglify-js":"2.4.x","express":"3.1.x","coffee-script":"1.5.x","shelljs":"0.1.x"},"gitHead":"225f93e3dcbd6bfb433267e157a744c02176516c","description":"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.","bugs":{"url":"https://github.com/madrobby/zepto/issues"},"_id":"zepto@1.1.6","_shasum":"9217ec4f3fd3d852d20ed4f8740d534872b5ba88","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"dist":{"shasum":"9217ec4f3fd3d852d20ed4f8740d534872b5ba88","size":52503,"noattachment":false,"key":"/zepto/-/zepto-1.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-1.1.6.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/zepto-1.1.6.tgz_1468435018174_0.06740008457563818"},"directories":{},"publish_time":1468435020035,"_hasShrinkwrap":false,"_cnpm_publish_time":1468435020035,"_cnpmcore_publish_time":"2021-12-16T12:50:58.570Z"},"1.0.1":{"author":{"name":"Chris Antaki"},"name":"zepto","description":"Zepto - in the process of being transferred to maintainers","version":"1.0.1","homepage":"http://zeptojs.com/","repository":{"url":"git+https://github.com/madrobby/zepto.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/madrobby/zepto/issues"},"_id":"zepto@1.0.1","scripts":{},"_shasum":"a5bc695d5bca61793dc5a67491ac40411a0d9d2d","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"chrisantaki","email":"ChrisAntaki@gmail.com"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"dist":{"shasum":"a5bc695d5bca61793dc5a67491ac40411a0d9d2d","size":10267,"noattachment":false,"key":"/zepto/-/zepto-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-1.0.1.tgz"},"directories":{},"publish_time":1450882948205,"_hasShrinkwrap":false,"_cnpm_publish_time":1450882948205,"_cnpmcore_publish_time":"2021-12-16T12:50:58.789Z"},"1.0.0":{"author":{"name":"Chris Antaki"},"name":"zepto","description":"Zepto - in the process of being transferred to maintainers","version":"1.0.0","homepage":"http://zeptojs.com/","repository":{"url":"git+https://github.com/madrobby/zepto.git"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"bugs":{"url":"https://github.com/madrobby/zepto/issues"},"_id":"zepto@1.0.0","scripts":{},"_shasum":"7fd31c782144b5a99f5f66d4a184a6824e69f14f","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"chrisantaki","email":"ChrisAntaki@gmail.com"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"dist":{"shasum":"7fd31c782144b5a99f5f66d4a184a6824e69f14f","size":10270,"noattachment":false,"key":"/zepto/-/zepto-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-1.0.0.tgz"},"directories":{},"publish_time":1450882193509,"_hasShrinkwrap":false,"_cnpm_publish_time":1450882193509,"_cnpmcore_publish_time":"2021-12-16T12:50:58.996Z"},"0.0.4":{"author":{"name":"Brian Hurlow"},"name":"zepto","description":"Minified Zepto via NPM. Simple as that","version":"0.0.4","homepage":"http://zeptojs.com/","repository":{"url":"https://github.com/madrobby/zepto"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_id":"zepto@0.0.4","dist":{"shasum":"9bbfbe0f1c2f573befaaacffe9f552ccb3fa27d2","size":10244,"noattachment":false,"key":"/zepto/-/zepto-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-0.0.4.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"bhurlow","email":"bhurlow@gmail.com"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"directories":{},"publish_time":1367850335131,"_hasShrinkwrap":false,"_cnpm_publish_time":1367850335131,"_cnpmcore_publish_time":"2021-12-16T12:50:59.234Z"},"0.0.3":{"name":"zepto","author":{"name":"Brian Hurlow"},"description":"Minified Zepto via NPM. Simple as that","version":"0.0.3","homepage":"http://zeptojs.com/","repository":{"url":"https://github.com/madrobby/zepto"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"main":"zepto.min.js","_npmUser":{"name":"bhurlow","email":"bhurlow@gmail.com"},"_id":"zepto@0.0.3","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"_from":"zepto","dist":{"shasum":"976eda48a01fe36a5f1612a006adf2dd145ab0e8","size":9081,"noattachment":false,"key":"/zepto/-/zepto-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-0.0.3.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"directories":{},"publish_time":1344026126997,"_hasShrinkwrap":false,"_cnpm_publish_time":1344026126997,"_cnpmcore_publish_time":"2021-12-16T12:50:59.473Z"},"0.0.2":{"author":{"name":"Brian Hurlow"},"name":"zepto","description":"Minified Zepto via NPM. Simple as that","version":"0.0.2","homepage":"http://zeptojs.com/","repository":{"url":"https://github.com/madrobby/zepto"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"bhurlow","email":"bhurlow@gmail.com"},"_id":"zepto@0.0.2","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"b988ed0ea0af2e747b2ea236761834ea07ab2aa9","size":8969,"noattachment":false,"key":"/zepto/-/zepto-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-0.0.2.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"directories":{},"publish_time":1342446597978,"_hasShrinkwrap":false,"_cnpm_publish_time":1342446597978,"_cnpmcore_publish_time":"2021-12-16T12:50:59.688Z"},"0.0.1":{"author":{"name":"Brian Hurlow"},"name":"zepto","description":"Just an NPM wrapper for the production version of zepto. Alternative to building with ruby","version":"0.0.1","homepage":"http://zeptojs.com/","repository":{"url":"https://github.com/madrobby/zepto"},"dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_npmUser":{"name":"bhurlow","email":"bhurlow@gmail.com"},"_id":"zepto@0.0.1","_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.18","_defaultsLoaded":true,"dist":{"shasum":"05f39147e68e1145000394eadf83c4462956d4d5","size":9003,"noattachment":false,"key":"/zepto/-/zepto-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/zepto/download/zepto-0.0.1.tgz"},"maintainers":[{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"npm:mislav","email":""},{"name":"npm:thomasfuchs","email":""},{"name":"thomasfuchs","email":"thomas@fesch.at"}],"directories":{},"publish_time":1342446424146,"_hasShrinkwrap":false,"_cnpm_publish_time":1342446424146,"_cnpmcore_publish_time":"2021-12-16T12:50:59.922Z"}},"readme":"# Zepto.js – a minimalist JavaScript library\n\nZepto is a minimalist JavaScript library for modern browsers with a\nlargely jQuery-compatible API. If you use jQuery, you already know how to use Zepto.\n\nSee [zeptojs.com][] for an extended introduction, downloads\nand documentation.\n\nZepto.js is licensed under the terms of the MIT License.\n\nWant to give us money or a tip? Don't.\nInstead please donate to [charity: water](http://charitywater.org/).\n\n## Building\n\n[![Build Status](https://secure.travis-ci.org/madrobby/zepto.svg?branch=master)](http://travis-ci.org/madrobby/zepto)\n\nThe official site offers a download of the default distribution of Zepto. This\nis good for starting out. However, at some point you might want to add some\noptional modules and remove some of the default ones you don't need, to keep the\nsize at a minimum. That's when you need to check out Zepto's source code and use\nthe build commands. Alternatively you can use the web based [Zepto Builder](http://github.e-sites.nl/zeptobuilder/).\n\nYou will need Node.js installed on your system.\n\n~~~ sh\n$ npm install\n$ npm run-script dist\n\n# do a custom build\n$ MODULES=\"zepto event data\" npm run-script dist\n\n# on Windows\nc:\\zepto> SET MODULES=zepto event data\nc:\\zepto> npm run-script dist\n~~~\n\nThe resulting files are:\n\n1. `dist/zepto.js`\n2. `dist/zepto.min.js`\n\nIf you install CoffeeScript globally, you can run `make` directly:\n\n~~~ sh\n# one-time operation\n$ npm install coffee-script --global\n\n$ coffee make dist\n$ MODULES=\"zepto event data ...\" ./make dist\n\n# on Windows\nc:\\zepto> SET MODULES=zepto event data\nc:\\zepto> coffee make dist\n~~~\n\n## Zepto modules\n\nZepto modules are individual files in the \"src/\" directory.\n\n<table>\n<thead><tr>\n  <th>module</th> <th>default</th> <th>description</th>\n</tr></thead>\n<tbody>\n  <tr>\n    <th><a href=\"src/zepto.js#files\">zepto</a></th>\n    <td>✔</td>\n    <td>Core module; contains most methods</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/event.js#files\">event</a></th>\n    <td>✔</td>\n    <td>Event handling via <code>on()</code> &amp; <code>off()</code></td>\n  </tr>\n  <tr>\n    <th><a href=\"src/ajax.js#files\">ajax</a></th>\n    <td>✔</td>\n    <td>XMLHttpRequest and JSONP functionality</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/form.js#files\">form</a></th>\n    <td>✔</td>\n    <td>Serialize &amp; submit web forms</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/ie.js#files\">ie</a></th>\n    <td>✔</td>\n    <td>Support for Internet Explorer 10+ on the desktop and Windows Phone 8</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/detect.js#files\">detect</a></th>\n    <td></td>\n    <td>Provides <code>$.os</code> and <code>$.browser</code> information</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/fx.js#files\">fx</a></th>\n    <td></td>\n    <td>The <code>animate()</code> method</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/fx_methods.js#files\">fx_methods</a></th>\n    <td></td>\n    <td>\n      Animated <code>show</code>, <code>hide</code>, <code>toggle</code>,\n      and <code>fade*()</code> methods.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/assets.js#files\">assets</a></th>\n    <td></td>\n    <td>\n      Experimental support for cleaning up iOS memory after removing\n      image elements from the DOM.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/data.js#files\">data</a></th>\n    <td></td>\n    <td>\n      A full-blown <code>data()</code> method, capable of storing arbitrary\n      objects in memory.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/deferred.js#files\">deferred</a></th>\n    <td></td>\n    <td>\n      Provides <code>$.Deferred</code> promises API.\n      Depends on the \"callbacks\" module.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/callbacks.js#files\">callbacks</a></th>\n    <td></td>\n    <td>\n      Provides <code>$.Callbacks</code> for use in \"deferred\" module.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/selector.js#files\">selector</a></th>\n    <td></td>\n    <td>\n      Experimental <a href=\"http://api.jquery.com/category/selectors/jquery-selector-extensions/\">jQuery\n      CSS extensions</a> support for functionality such as <code>$('div:first')</code> and\n      <code>el.is(':visible')</code>.\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/touch.js#files\">touch</a></th>\n    <td></td>\n    <td>\n      Fires tap– and swipe–related events on touch devices. This works with both\n      `touch` (iOS, Android) and `pointer` events (Windows Phone).\n    </td>\n  </tr>\n  <tr>\n    <th><a href=\"src/gesture.js#files\">gesture</a></th>\n    <td></td>\n    <td>Fires pinch gesture events on touch devices</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/stack.js#files\">stack</a></th>\n    <td></td>\n    <td>Provides <code>andSelf</code> &amp; <code>end()</code> chaining methods</td>\n  </tr>\n  <tr>\n    <th><a href=\"src/ios3.js#files\">ios3</a></th>\n    <td></td>\n    <td>\n      String.prototype.trim and Array.prototype.reduce methods\n      (if they are missing) for compatibility with iOS 3.x.\n    </td>\n  </tr>\n</tbody>\n</table>\n\n## Contributing\n\nPlease read our [contribution guidelines](https://github.com/madrobby/zepto/blob/master/CONTRIBUTING.md)\nfor information on how to contribute.\n\nGet in touch:\n\n* @[zeptojs](http://twitter.com/zeptojs)\n\n### Write documentation\n\nZepto docs are written in Markdown and live in the [\"gh-pages\" branch][docs].\nThey are published on [zeptojs.com][].\n\nYou can use GitHub's web interface to make quick changes to documentation for\nspecific Zepto features\n([example: ajaxSettings](https://github.com/madrobby/zepto/blob/gh-pages/ajax/_posts/1900-01-01-Z-ajaxSettings.md)).\nThis will submit a pull request to us that we can review.\n\n### Report a bug\n\n1. Check if the bug is already fixed in the master branch since the last release.\n2. Check [existing issues][issues]. Open a new one, including exact browser &\n   platform information. For better formatting of your report, see\n   [GitHub-flavored Markdown][mkd].\n\n### Running tests\n\nYou will need to install [PhantomJS][]. On OS X, that's easy:\n\n~~~ sh\n$ brew install phantomjs\n~~~\n\nTo run the automated tests:\n\n~~~ sh\n$ npm test\n~~~\n\nTo run a test server, which you can hit with your browsers and devices:\n\n~~~ sh\n$ npm start\n~~~\n\nGo to `http://your-ip-address:3000/` on your browser and follow the\ninstructions. For your convenience test failures and exceptions will be\nreported to the the console you started the test server in (as well as\nthe browser console if available).\n\n  [zeptojs.com]: http://zeptojs.com\n  [issues]: https://github.com/madrobby/zepto/issues\n  [docs]: https://github.com/madrobby/zepto/tree/gh-pages#readme\n  [mkd]: https://help.github.com/articles/creating-and-highlighting-code-blocks/\n  [evidence.js]: https://github.com/tobie/Evidence\n  [phantomjs]: http://phantomjs.org/download.html\n","_attachments":{},"homepage":"http://zeptojs.com","bugs":{"url":"https://github.com/madrobby/zepto/issues"},"license":"MIT"}