Web Components, Web APIs, 🦕 Deno, Lit LitElement
- Planet Earth
- https://www.jimmont.com
Pinned Loading
-
-
-
-
ES Modules ESM in Nodejs `node --imp...
ES Modules ESM in Nodejs `node --import './node-esm.mjs' ./testing.js` 1/*
2* support ES Modules in Nodejs,
3* running modules like we might in browsers and Deno
4*
5* works + tested in Nodejs 23
-
browser ui testing, scraping, etc
browser ui testing, scraping, etc 1// astral alternative to puppeteer and playwright, similar API
2// run: deno run -A ./uitest.js
3// more at https://github.com/lino-levan/astral
4import { launch } from "jsr:@astral/astral";
5const browser = await launch({
-
lit templates toString: a template a...
lit templates toString: a template and its content converted to a string (LitElement) 1/* convert lit templates and all their stuff and things to strings:
2const things = 'things';
3lit_toString(html`<b>stuff and ${ [ things ] }</b>`)
4// `<b>stuff and things</b>`
5*/
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.