Skip to content

Utility types and functions for import-map-microfrontend related projects

License

Notifications You must be signed in to change notification settings

single-spa/import-map-microfrontend-utils

Repository files navigation

import-map-microfrontend-utils

Utility types and functions for import-map-microfrontend related projects

Installation

npm i @single-spa/import-map-microfrontend-utils

Usage

import { ImportMapMicrofrontendUtils } from "@single-spa/import-map-microfrontend-utils";

const utils = new ImportMapMicrofrontendUtils({
  baseOrigin: "https://cdn.example.com",
});

utils.getMicrofrontendURLPrefix("@org/navbar");
utils.getDependenciesURLPrefix();
utils.getDependenciesFolderName();
utils.getMFEsFolderName();

About

Utility types and functions for import-map-microfrontend related projects

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published