Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tire is a lightweight JavaScript library for modern browsers
Branch: master
Pull request Compare This branch is 176 commits behind tirejs:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Tire Build Status

Tire is a lightweight JavaScript library for modern browsers. The goal is to create a framework that's around 12-15kb minified and 5kb minified and gzipped. The syntax is inspired from jQuery. It is modular so you can extend it however you like, also replace our features with your own.

Fixes for older browsers increase the file size and we don't want that. So if you like a library to support Internet Explorer 6 or 7, Tire isn't for you.

That said, all features can probably be rewritten/extended to add support for old browsers. In that case, you have to create a fork of Tire and fix it yourself.

Browser support

  • Chrome
  • Safari 4.0.5
  • Internet Explorer 8
  • Firefox 3.5
  • Opera 10

Older browsers

Tire may work in older browsers but is not tested in older than the above.

Documentation and community


Current release: 1.1.1

  • tire.js - 35kB uncompressed (lots of comments), for development
  • tire.min.js - 4.5kB when gzipped, for production

Please do not hotlink directly to the files hosted on Download a local copy instead.


npm install

On Windows

npm install


Install connect via npm and start the server. This will create a local server (on port 3000) so the ajax tests don't failes. Be sure to build tire first or all tests will fail! Then you can open http://localhost:3000/ in your browser to run the tests.

npm install
node server.js


Everyone is welcome to contribute with patches, bug-fixes and new features.

  1. Create an issue on Github so the community can comment on your idea.
  2. Fork tire on Github.
  3. Create a new branch: git checkout -b my_branch.
  4. Create tests for the changes you made.
  5. Make sure you pass both existing and newly inserted tests.
  6. Commit your changes.
  7. Push to your branch: git push origin my_branch.
  8. Create a pull request against *-wip branches.


  • Please follow the code style in Tire.
  • If you are making several changes at once please divide them into multiple pull requests.
  • Always create the pull request against the *-wip branches, not the master.
Something went wrong with that request. Please try again.