Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shresht7/dom-commander

A makeshift vanilla-js DOM-manipulation library with jQuery-like syntax
https://github.com/shresht7/dom-commander

dom dom-manipulation vanilla-js web

Last synced: about 2 months ago
JSON representation

A makeshift vanilla-js DOM-manipulation library with jQuery-like syntax

Awesome Lists containing this project

README

        

# `DOM Commander`

A makeshift vanilla-js DOM-manipulation library with jQuery-like syntax.

## Features

- Selection and manipulation of multiple elements
- Chainable methods for easier DOM manipulation
- Similar API to standard DOM methods

> [!NOTE]
> This is something I made for fun. Do not take this too seriously.

## Usage

```js
import { $ } from 'https://cdn.jsdelivr.net/gh/Shresht7/DOM-Commander/dist/index.js'

$('.red').classList.add('hide') // Adds the class 'hide' to all elements with the class 'red'
```

---

## License

This project is licensed under the [MIT](./LICENSE) License. See [LICENSE](./LICENSE) for more information.