Skip to content

acauamontiel/mantis-js

Repository files navigation

Mantis.js

Join the chat at https://gitter.im/acauamontiel/mantis-js

Bower version npm version

Mantis.js is probably the simplest and lightest weight JavaScript library for modern browsers. It has the most essential and useful features like DOM traversal and manipulation, event handling, Ajax, and more with a similar API to jQuery and Zepto.js.

Usage

Include Mantis.js with a script tag near the end of your page:

<script src="mantis.min.js"></script>

A CDN will be available soon.

API Methods

List of all the methods currently working

  • Mantis()
  • Mantis.extend()
  • Mantis.map()
  • Mantis.noConflict()
  • Mantis.type()
  • Mantis.fn
  • Mantis.fn.addClass()
  • Mantis.fn.after()
  • Mantis.fn.append()
  • Mantis.fn.attr()
  • Mantis.fn.before()
  • Mantis.fn.css()
  • Mantis.fn.each()
  • Mantis.fn.extend()
  • Mantis.fn.hasAttr()
  • Mantis.fn.hasClass()
  • Mantis.fn.html()
  • Mantis.fn.map()
  • Mantis.fn.prepend()
  • Mantis.fn.removeAttr()
  • Mantis.fn.removeClass()
  • Mantis.fn.toggleClass()

Browser Support

Chrome Firefox IE Safari
Latest ✔ Latest ✔ 9+ ✔ 6.1+ ✔

Donating

Support this project and others by acauamontiel via gratipay.

Support via Gratipay

License

© 2013 - 2016 Acauã Montiel

MIT License

About

Mantis.js is probably the simplest and lightest weight JavaScript library for modern browsers with a similar API to jQuery and Zepto.js.

Resources

Stars

Watchers

Forks

Packages

No packages published