RottenJS is a light-weight(2.6kb), all-in-one Javascript library. It can be used for DOM manipulation, but it also provides many utilites for you to create websites with charm. The library is recommended for personal projects as its very light and scale well with medium-sized websites, but not recommended for big websites that are in production. RottenJS is a perfect fit for you if you want to create projects quick and easy, or if you just want to mess around with open-source libraries.
Size | Rotten.js | Cash | Zepto 1.2.0 | jQuery Slim 3.4.1 |
---|---|---|---|---|
Unminified | 13.9 KB | 36.5 KB | 58.7 KB | 227 KB |
Minified | 7.8 KB | 16 KB | 26 KB | 71 KB |
Minified & Gzipped | 2.6 KB | 6 KB | 9.8 KB | 24.4 KB |
When it comes to size, Rotten.js totally shine, so if you want your website to be fast and light, Rotten.js can be a great option!
You can clone RottenJS with git:
git clone https://github.com/nguyenphuminh/RottenJS.git
Or you can just pull it from unpkg.com by adding this to your .html file:
<script src="https://unpkg.com/rottenjs"></script>
Or from npm:
npm install rottenjs
If you're using NodeJS, please consider check out this code first:
// Import rottenjs to "rotten"
const rotten = require("rottenjs");
// Using rt()
const rt = rotten.rt;
// const rdom = rotten.rdom;
// const rUI = rotten.rUI;
// const rDev = rotten.rDev;
- Written in pure Javascript, easy to setup and use, no toolings needed.
- Lightweight.
- All-in-one.
- Not optimized.
- Works not that well with big sites
Copyrights © 2020 Nguyen Phu Minh
This library is licensed under the MIT License