Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.77 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.77 KB

raj.js

A modern, fast, performant and lightweight jQuery alternative.

License Release Gitter Gitter Members Checks Stars Forks Opened Issues CodeQL TypeScript

Features

  • 500% faster than jQuery
  • 500% smaller than jQuery
  • ES6
  • Using TypeScript
  • No Dependencies

Usage

  1. Add the below script tag to your HTML
<script src="https://unpkg.com/@rajaniraiyn/raj.js@latest/dist/raj.min.js" defer></script>
  1. That's it now just simply use $() or jQuery() or raj() to select elements

Comparison

Library Raj jQuery Slim* jQuery*
Normal file size 18.24 KB 229.83 KB 281.82 KB
Minified file size 4.05 KB 70.68 KB 87.4 KB
Gzipped file size 3.03 KB 67.7 KB 83.15 KB
Minified and Gzipped file size 1.44 KB 24.06 KB 30.22 KB

*v3.6.0 from https://jquery.com/download/