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

angular-mfe-schematic

v1.0.4

Published

Angular MFE workspace generator with Module Federation support

Downloads

393

Readme

Angular MFE Schematic

Angular schematics for generating Micro Frontend (MFE) applications with Module Federation support.

Features

  • 🚀 Generate MFE applications with Angular 21
  • 🔗 Module Federation pre-configured
  • 🎨 Angular Material integrated
  • 🧪 Jest testing setup
  • 📦 Complete workspace structure

Installation

From npm (Recommended)

npm install -g angular-mfe-schematic

From GitHub

npm install -g github:Tarikul-Islam-Soikot/angular-mfe-schematic

Or install directly:

npm install -g https://github.com/Tarikul-Islam-Soikot/angular-mfe-schematic.git

Note: You may see npm warnings about rxjs during installation on Windows. These are harmless and don't affect functionality.

Verify Installation

# Check if schematic is installed
npm list -g angular-mfe-schematic

Usage

Generate MFE Application

schematics angular-mfe-schematic:mfe --name=my-mfe --port=4201 --dry-run=false

Generate Platform Application

schematics angular-mfe-schematic:platform --name=my-platform --port=4200 --dry-run=false

Options

  • --name: Application name (required)
  • --port: Development server port (default: 4201 for MFE, 4200 for Platform)

What's Included

MFE Application

  • User CRUD components with amount descriptor
  • Amount validator (MAX_SAFE_INTEGER and 3 decimal places)
  • Module Federation configuration
  • Demo module for lazy loading
  • Jest testing setup
  • Angular Material components

Platform Application

  • Home and Library components
  • Module Federation host configuration
  • Remote MFE integration
  • Shared library structure (@ngx-mfe/shared)
  • GitHub Actions workflow for auto-publishing
  • Jest testing setup

Shared Library (@ngx-mfe/shared)

The platform schematic generates a shared library published to GitHub Packages:

Installation

# Configure npm registry
echo "@ngx-mfe:registry=https://npm.pkg.github.com" > .npmrc

# Authenticate (requires GitHub account)
npm login --scope=@ngx-mfe --registry=https://npm.pkg.github.com

# Install library
npm install @ngx-mfe/shared

What's Included

  • Services: ConfigService, BaseService, NotificationService, DataService, AuthService
  • Validators: Custom validators (email domain, strong password, no whitespace)
  • Directives: HighlightDirective
  • Pipes: TruncatePipe, CapitalizePipe, AmountDescriptorPipe
  • Components: HeaderComponent, FooterComponent

Usage

import { ConfigService, BaseService } from '@ngx-mfe/shared';
import { AmountDescriptorPipe } from '@ngx-mfe/shared';

Advanced Guides

Development

# Clone repository
git clone https://github.com/Tarikul-Islam-Soikot/angular-mfe-schematic.git
cd angular-mfe-schematic

# Install dependencies
npm install

# Build the schematic
npm run build

# Link for local testing
npm link

# Generate test projects
schematics angular-mfe-schematic:mfe --name=test-mfe --port=4201 --dry-run=false
schematics angular-mfe-schematic:platform --name=test-platform --port=4200 --dry-run=false

# Install dependencies
cd test-mfe && npm install
cd ../test-platform && npm install

# Run applications
cd ../test-mfe && npm start
cd ../test-platform && npm start

Quick Start (Windows)

# Run everything in one command
build-schematic-link-generate-projects-run-locally.bat

License

MIT