Packages

JS Libraries

Zero-dependency, lightweight, extensible and framework-agnostic

routerx Client-side Router library for MPA or SPA in static hosting environments. ~ 3,4 Kb restate Reactive state management library built on ES6 Proxies with a clear and simple API. ~ 2,8 Kb reflectx Templating and DOM binding JS library for Custom Elements (Web components) and plain HTML. ~ 5,4 Kb

Web Components

Framework-agnostic Native Web Components

< re-md > Markdown transformation component with lots of options and features. ~ 5,4 Kb < doc-quick > A custom element that provides a complete documentation page with automatic navigation, theme support, and markdown rendering. ~ 6,7 Kb < monitor-loading > A custom element that monitors the loading of custom elements and displays a list of them as they become ready. ~ 1,6 Kb < svg-insert > A custom element that inserts an SVG into the DOM and allows you to configure it with attributes. ~ 0,2 Kb

Utilities

Helpers functions. Useful to build upon or around.

readyElement Base class for custom elements that expose a 'ready' Promise, for components orchestration purposes. ~ 0,6 Kb autoDefine A function that automatically discovers and registers custom elements from a base path and naming convention. ~ 1,2 Kb waitForElementsReady A function that waits for all custom elements to be defined and ready, for components orchestration purposes. ~ 0,8 Kb makeReady A function that patches a custom element to expose a 'ready' Promise and a '_resolveReady()' method, for components orchestration purposes. ~ 0,4 Kb