2.1.0 • Published 5 years ago

fsldom v2.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

FSLDOM

Software License Netlify Status

A fast, simple and lightweight library for manipulating the DOM

Philosophy

FSLDOM is not an attempt to wrap the majority of the DOM API (à la jQuery). The DOM API is quite extensive and for the most part, easy to use. There simply isn't much need to write wrapper functions for tasks like:

  • elem.hidden = true
  • elem.style.backgroundColor = '#222222'
  • elem.classList.add('banana')

That being said, if you've ever tried to go from a framework/library like jQuery, Angular, or React to vanilla JS, you've may have been frustrated by some of the minutia involved with using the Vanilla DOM functions (typing out document.longFunctionName repeatedly anyone?). These are the types of problems FSLDOM wants to solve.

FSLDOM is also built on the idea that native web platform is a viable and future-proof way to build projects (it's available as an ES6 module!) Rather than creating a new system of doing things (the jQuery way, the React way, etc...), FSLDOM is meant to work with standard JavaScript every web developer should learn. If you're using one of the tools mentioned above, you probably don't need FSLDOM as those platforms come with their own solutions for rendering/altering views. FSLDOM is primarily meant for vanilla JS projects.

Usage

Check out FSLDOM's Wiki for Documentation

License

FSLDOM is an open source library, distributed under the MIT license

2.1.0

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago