Skip to content
sovereignbasePublic

About

Typed DOM helpers for building vanilla JavaScript and TypeScript interfaces with native elements and inline cssText styling.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GitHub repository TypeDoc JSR npm codecov

Import elements by tag name

Use our cssText IntelliSense extension for VS Code to get CSS syntax highlighting and completions inside style.cssText template literals.

TypeScript importing elements by tag name and styling them with cssText

Behaves just as you would expect

A native DOM element created and styled with dom-utils

Real DOM elements, native browser APIs, and less ceremony for vanilla JavaScript and TypeScript builders.

readableUserAgent

Returns a readable browser and device description, such as Chrome · Windows · desktop. Uses the user agent and available Client Hints, omitting missing values.

Compatibility

  • Runtimes: browsers with a DOM; import after the document body exists.
  • Module format: ESM and CommonJS.
  • Types: bundled .d.ts.

Tests

Suite: Playwright — user-agent descriptions, Client Hints, element factories, document roots, styles, events, forms, tables, and lists.

Matrix: Chromium / Firefox / WebKit + mobile Chrome and Safari emulation.

Coverage: Chromium Playwright runs, mapped to TypeScript sources and reported to Codecov.

License

Apache-2.0

About

Typed DOM helpers for building vanilla JavaScript and TypeScript interfaces with native elements and inline cssText styling.

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages