SkillAgentSearch skills...

FemtoJS

femtoJS - Really small JavaScript (ES6) library for DOM manipulation.

Install / Use

/learn @vladocar/FemtoJS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

femtoJS

License MIT Gzip Size npm Join the chat at https://gitter.im/femtoJS/community

Small JS (ES6) library for DOM manipulation.

<p align="center"><img src="logo/femtoJS-logo.png"/></p>

So, what is femtoJS? femtoJS is a JavaScript library for basic DOM manipulation. It has a jQuery-inspired syntax and supports chaining.

femtoJS is about 100 lines of code in size, and the entire library weighs in at just under 0.9kB compressed and gzipped.

It works in all the browsers that support <a href="https://caniuse.com/#search=es6">ES6</a>. If you need to support older browsers take a look into my previous project <a href="https://github.com/vladocar/nanoJS">nanoJS</a>.

You can use direct download or:

npm i femtojs
yarn add femtojs
<script src="https://unpkg.com/femtojs@1.0.1/src/femtoJS.min.js"></script>

OR

<script src="https://cdn.jsdelivr.net/npm/femtojs@1.0.1/src/femtoJS.min.js"></script>

Utils:

addClass
attr
css
empty
getAttr
html
insertAfter, insertBefore, insertFirst insertLast
offset
on
parent
removeAttr
removeClass
text
toggleClass

You can find it here some basic examples.

Simple demo

Project femtoJS

<h3>License</h3>

This project is licensed under the MIT License

Related Skills

View on GitHub
GitHub Stars143
CategoryDevelopment
Updated1mo ago
Forks4

Languages

JavaScript

Security Score

100/100

Audited on Feb 12, 2026

No findings