Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

nanoJS - JavaScript for DOM manipulation

Back in 2011 I made Picocss ultra small JS Library with doing very basic DOM operations. picoCSS was foundation of nanoJS.

What is nanoJS?

nanoJS is minimal standalone DOM manipulation JavaScript library. It is around 100 lines of code and compressed is around 1.2 Kb. It uses familiar jQuery like syntax so it is simple to learn.

Why use nanoJS?

First is super lightweight but that is not it greatest quality. It is super customizable and you can add or remove methods directly in the library without braking the structure. All methods are unrelated so adding or removing one will not affect the library. You can make your custom library directly in the main code.

Syntax example:

$(".someClass").css("background-color:green;").html("Hello World");

Compatibility:

IE9 and later.

Credits

I want to thank for Bjørn Rosell for forking picoCSS and making it chain-able.

You can find nanoJS here:

https://vladocar.github.io/nanoJS/

or here:

https://github.com/vladocar/nanoJS





This post first appeared on Carrer, please read the originial post: here

Share the post

nanoJS - JavaScript for DOM manipulation

×

Subscribe to Carrer

Get updates delivered right to your inbox!

Thank you for your subscription

×