Open Source · Tay
The best parts of jQuery.
Brought into the modern era.
Tay is a TypeScript library designed to build faster websites, offering the most commonly used jQuery functions without relying on jQuery animations.
For All Front-End Developers
1KB
Compressed. Loads almost instantly.
TypeScript
Built from the ground up
No legacy
Without the weight or baggage
250% faster
Code execution vs. jQuery
TypeScript Based Library
When jQuery was created, cross-browser compatibility in JavaScript was a major challenge. With TypeScript, you can write code in a modern, typed language and export it to older JavaScript syntax like ES5 or ES6, providing cross-browser compatibility right out of the box.
Minimal Size
For frontend development, minimal file size is crucial. Tay’s compressed file size is just 1KB, making it an ideal choice.
“Write less do more” philosophy
jQuery’s second major advantage is that it saves time during development. It allows you to accomplish the same tasks more quickly compared to using plain JavaScript.
250% Faster Than jQuery
Besides its small size, Tay also offers faster code execution compared to jQuery.
Who is Tay for?
Tay is not a full-fledged framework and does not come with extensive libraries for project extension. It is best suited for speed-critical projects, such as e-commerce applications.
We built it for the e-commerce section of our website (which is not public yet), but you can see it in action in the video below.
Benchmarks
Faster to run. Faster to load.
250%
faster code execution than jQuery
This is actually the lowest comparison benchmark we’ve conducted. Depending on the functionality used in the code, performance differences can reach up to 1000%.
3000%
faster to load on mobile, time to ready-to-use
Download time before a library can be used, at Google’s mobile test speed of 1628 Kbps.
In short, among the popular JavaScript libraries mentioned above, jQuery loads in 150 milliseconds and is ready for use, while Tay is ready in just 5 milliseconds. In other words, Tay loads 3,000% faster than jQuery.⬤
How to use
jQuery style
$(".myclass").addClass("example");
Tay version:
t(".myclass").addClass("example");
How to use
Using on elements directly
myElement.parent().find(".switch").toggleClass("example");
Download
Open source on GitHub.
Grab the source, read the code, ship faster pages.
Your success story could be next.
Got questions? We’re here to help you make the right move.