Socket
Book a DemoInstallSign in
Socket

@1fe/shell

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1fe/shell

Frontend shell and runtime for 1FE micro-frontend applications

0.1.5
latest
Source
npmnpm
Version published
Weekly downloads
8
-46.67%
Maintainers
2
Weekly downloads
 
Created
Source

1FE Logo

@1fe/shell

npm version npm downloads CI Status Coverage Status Bundle Size License: MIT TypeScript Join the community

Application shell providing common UI components, layout, and platform utilities for 1fe widgets.

Follow our documentation here to learn more about 1fe and how the shell works.

Installation

npm install @1fe/shell
# or
yarn add @1fe/shell

What is @1fe/shell?

The @1fe/shell package provides the application shell that serves as the foundation for 1fe widgets. It includes:

  • Platform utilities accessible to widgets via the sandbox
  • Common UI components for consistent user experiences
  • Layout management and routing capabilities
  • Performance monitoring and telemetry
  • Storage utilities for persistent data

Basic Usage

Rendering the Shell

import renderOneFEShell from '@1fe/shell';

// Render the 1fe shell
const shellContainer = document.getElementById('shell-root');
renderOneFEShell(shellContainer, {
  // Shell configuration options
});

Accessing Platform Props

import { platformProps } from '@1fe/shell';

// Access platform utilities in your widget
export default function MyWidget() {
  useEffect(() => {
    // Track app load time
    platformProps.utils.appLoadTime.end();

    // Use event bus for communication
    platformProps.eventBus.emit('widget-loaded', { widgetId: 'my-widget' });
  }, []);

  return <div>My Widget Content</div>;
}

Community

If you have questions or want to discuss this project, please visit the Issues or Discussions pages in our monorepo.

License

MIT © Docusign Inc.

Keywords

1fe

FAQs

Package last updated on 14 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.