@sovereignbase/dom-utils
    Preparing search index...

    @sovereignbase/dom-utils

    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

    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.

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

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

    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.

    Apache-2.0