Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shresht7/dom-commander
- Owner: Shresht7
- License: mit
- Created: 2021-12-19T08:57:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-25T14:50:49.000Z (12 months ago)
- Last Synced: 2024-10-15T04:25:47.071Z (3 months ago)
- Topics: dom, dom-manipulation, vanilla-js, web
- Language: TypeScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.