Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

nguyenphuminh/rottenjs

Repository files navigation


A simple, light-weight (7kb) Javascript library for DOM manipulation and UI development


Downloads Version language

What is RottenJS ?

RottenJS is a light-weight(8kb), all-in-one Javascript library. It can be used for DOM manipulation and web development. RottenJS also comes with HTML rendering, device/os detection and other utilities that might come in handy. 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.

Getting started

Installation

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;

Documentations

Pros and Cons

Pros

  • Written in pure Javascript, easy to setup and use, no toolings needed.
  • Lightweight.
  • All-in-one.

Cons

  • Not optimized.
  • Works not that well with big sites

Who is using RottenJS ?

Comparision with other libraries/frameworks

jQuery, UmbrellaJS

RottenJS shares a lot of similarities with jQuery and UmbrellaJS, but RottenJS is a bit lighter.

Social medias

Copyrights and License

Copyrights © 2020 Nguyen Phu Minh

This library is licensed under the MIT License