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
For Node.js:
npx jsr add @debutter/doughFor Deno:
deno add jsr:@debutter/doughFor Bun:
bunx jsr add @debutter/doughFor Browsers:
import {} from "https://esm.sh/jsr/@debutter/dough@VERSION";import { $ } from "@debutter/dough";
const body = $("body");
body.append("<p>hello world</p>");
$("<button>Click me</button>")
.on("click", () => {
alert("clicked");
})
.appendTo(body);Contributions are welcome! Please feel free to submit a Pull Request.