https://github.com/butterdebugger/dough
https://github.com/butterdebugger/dough
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/butterdebugger/dough
- Owner: ButterDebugger
- License: mit
- Created: 2024-11-26T18:13:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-15T17:13:00.000Z (9 months ago)
- Last Synced: 2025-06-01T14:17:47.523Z (9 months ago)
- Language: TypeScript
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dough
[](https://jsr.io/@debutter/dough)
[](https://jsr.io/@debutter/dough)
A lightweight and modern DOM manipulation library designed to make building web
applications easier and more efficient
It provides a simple API with a similar syntax to jQuery allowing you to create,
manipulate, and interact with web pages with ease
This library is meant to be used in a browser environment, so for runtime
environments, you should be bundling this library into your application
## Installation
For Node.js:
```bash
npx jsr add @debutter/dough
```
For Deno:
```bash
deno add jsr:@debutter/dough
```
For Bun:
```bash
bunx jsr add @debutter/dough
```
For Browsers:
```javascript
import {} from "https://esm.sh/jsr/@debutter/dough@VERSION";
```
## Usage
```javascript
import { $ } from "@debutter/dough";
const body = $("body");
body.append("
hello world
");
$("Click me")
.on("click", () => {
alert("clicked");
})
.appendTo(body);
```
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.