A teeny tiny jQuery-inspired library for typing slightly less when working with DOM. It's nothing more than a set of shorthand wrappers really.
Almost nothing, really.
$
wraps arounddocument.getElementById
$$
wraps arounddocument.querySelector
$$$
wraps arounddocument.querySelectorAll
import { $ } from "dollarsigns";
$("message-body").textContent = "It's actually working";
Or if you want all three
import * as DOM from "dollarsigns";
DOM.$("message-body").textContent = "It's actually working";
DOM.$$$(".menu a").forEach(el => (
el.addEventListener("click", () => console.log("just clicked"))
))
Type declarations are included, enjoy.