npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@beyond-js/widgets

v1.1.4

Published

Create web projects as standalone microfrontends with beyondJS

Readme

BeyondJS Widgets

Introduction

Beyond-JS Widgets is a versatile web-components framework designed for developers to create a range of web solutions from simple widgets to comprehensive applications. It seamlessly integrates with popular frameworks like React, Vue, and Svelte and supports various rendering methods like Server-Side, Static, and Client-Side Rendering. This flexibility enhances performance and user experience.

Features

Versatility and Integration

  • Pages and Layouts: Widgets can represent entire pages or layouts, simplifying complex web application construction.
  • Elements in Existing Applications: Easily integrate widgets as individual elements in existing applications.

Modular and Universal Development

  • Modular Design: Each widget is a distinct module, improving code management and efficiency.
  • Universal Application: Widgets function seamlessly on both client and server sides.

Framework Integration

  • CSS Encapsulation: Styles are isolated within each web component, preventing conflicts and ensuring stable styling.
  • Reusability: Widgets are reusable across different parts of an application, easing maintenance and updates.

Widget System

Modular Design

Widgets are automatically loaded when their corresponding web elements are inserted into the DOM. This lazy loading ensures optimal performance and resource use.

Controller's Role

  • Controller: A critical component within each JS+CSS module, coordinating the rendering of the widget into HTML.
  • Rendering Modes: Widgets detect the necessary rendering mode upon DOM insertion, enhancing rendering efficiency.

Integration with View Frameworks

Widgets are compatible with various JavaScript frameworks, enabling them to serve multiple roles, such as pages or layouts, through simple settings.

Rendering and Hydration

Widgets support hybrid rendering techniques and facilitate the hydration process, smoothly transitioning from server-rendered content to dynamic client-side updates.

Rendering Options

  • Server-Side Rendering (SSR): Dynamically generates HTML on the server, improving load times.
  • Static Rendering (SR): Pre-resolves and compiles HTML content, optimizing mobile performance.
  • Client-Side Rendering (CSR): Renders content on the client side, suitable for dynamic applications.

Web Composition Suite (WCS)

  • Single-Page Applications: WCS enhances user experience in SPAs by managing routing, layout, and transitions.
  • Layout Containers: The beyond-layout-children web component manages layouts and dynamic content, supporting a hierarchical application structure.

Documentation

For more information, read the BeyondJS widgets documentation.