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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@orion-mf/core

v1.0.0

Published

OrionMF Core - Micro-frontend isolation and lifecycle management

Readme

@orion-mf/core

OrionMF Core - Micro-frontend isolation and lifecycle management

Version License

Install

npm install @orion-mf/core react react-dom

Usage

import { loadSubApp, destroySubApp, getSubApp } from '@orion-mf/core';

// Load sub-app
const instance = await loadSubApp({
  key: 'sub-app-key',
  name: 'Sub App Name',
  remoteEntry: 'http://localhost:3000',
  cssIsolation: 'shadow-dom',
});

// Destroy sub-app
await destroySubApp('sub-app-key');

// Get loaded instance
const instance = getSubApp('sub-app-key');

Features

  • JS Sandbox - Pure Proxy implementation, ES Module compatible
  • CSS Isolation - Shadow DOM + Scoped CSS + Dynamic style interception
  • Error Isolation - Error Boundary + Global error catching + Circuit Breaker
  • Runtime Safety - Global snapshot/recovery, prototype chain protection
  • Crash Recovery - Circuit Breaker pattern to prevent repeated failures
  • Four-level Degradation - Full → Compatible → Iframe → Fallback
  • Event Bus - Version-controlled event communication
  • Global Store - Global state with CAS semantics
  • Preload Strategy - 5 modes: idle, visible, all, smart, manual
  • Keep-Alive - Sub-app caching for instant restoration

API Reference

Core Functions

| Function | Description | |----------|-------------| | loadSubApp(config) | Load a sub-application | | destroySubApp(key) | Destroy a sub-application | | getSubApp(key) | Get loaded sub-app instance |

Sandbox

| Function | Description | |----------|-------------| | Sandbox | JS sandbox with Proxy isolation | | getCurrentRunningApp() | Get current running sub-app | | setCurrentRunningApp(key) | Set current running sub-app |

Global Store

| Function | Description | |----------|-------------| | setGlobalState(key, value, owner) | Set global state | | getGlobalState(key) | Get global state | | subscribeGlobalState(key, callback) | Subscribe to state changes |

Event Bus

| Function | Description | |----------|-------------| | eventBus.createChannel(name, version) | Create event channel | | channel.on(event, handler) | Subscribe to event | | channel.emit(event, payload) | Emit event | | cleanupByOwner(owner) | Clean up by owner |

Documentation

License

MIT