• Stars
    star
    337
  • Rank 125,272 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A browser and NodeJS javascript library for overriding import maps

import-map-overrides

A browser and nodejs javascript library for being able to override import maps. This works with native browser import maps, SystemJS import maps, es-module-shims import maps, and more.

Motivation

import map overrides 3

Import maps are a way of controlling which url to download javascript modules from. The import-map-overrides library allows you to dynamically change the url for javascript modules by storing overrides in local storage. This allows developers to override individual modules to point to their localhost during development of a module, without having to boot up a local environment with all the other modules and a backend server.

You should not use import-map-overrides as the only import map on your page, since you cannot count on everyone's local storage having valid values for all of your modules. Instead, import-map-overrides should be viewed as a developer experience enhancement and dev tool -- developers can develop and debug on deployed environments instead of having to boot up a local environment.

Here are some tutorial videos that explain this in more depth:

Documentation

The UI for import-map-overrides works in evergreen browsers (web components support required). The javascript API works in IE11+.

Browser

NodeJS

More Repositories

1

single-spa

The router for easy microfrontends
JavaScript
13,289
star
2

single-spa-examples

Examples of single-spa applications.
JavaScript
359
star
3

single-spa-react

Single-spa lifecycles helper for React applications
JavaScript
226
star
4

single-spa-angular

Helpers for building single-spa applications which use Angular
TypeScript
201
star
5

import-map-deployer

A manifest deployment service for sofe/import maps
JavaScript
192
star
6

single-spa-vue

a single-spa plugin for vue.js applications
JavaScript
182
star
7

create-single-spa

JavaScript
133
star
8

single-spa.js.org

JavaScript
108
star
9

single-spa-layout

Layout engine for single-spa applications
JavaScript
78
star
10

single-spa-inspector

A devtools extension for single-spa applications
JavaScript
77
star
11

standalone-single-spa-webpack-plugin

A webpack plugin for running microfrontends in standalone mode.
JavaScript
42
star
12

single-spa-playground

A website that helps you set up single-spa
JavaScript
40
star
13

self-hosted-shared-dependencies

A repo for self hosting shared dependencies
JavaScript
40
star
14

single-spa-angularjs

JavaScript
37
star
15

zh-hans.single-spa.js.org

HTML
31
star
16

vue-cli-plugin-single-spa

JavaScript
21
star
17

single-spa-svelte

a single-spa plugin for svelte applications
JavaScript
20
star
18

single-spa-css

Lifecycle helpers for loading and unmounting css
TypeScript
14
star
19

docker-import-maps-mfe-server

Dockerfile
13
star
20

single-spa-leaked-globals

JavaScript
10
star
21

single-spa-html

A helper library for single-spa and vanilla html / web components
JavaScript
10
star
22

single-spa-alpinejs

Single-spa helpers for alpinejs
JavaScript
9
star
23

import-map-injector

Browser library adding small features to native import maps
TypeScript
7
star
24

single-spa-ember

Helper functions for using single-spa and ember together.
JavaScript
6
star
25

microfrontend-html-assembly

Specification for assembling an HTML file from various microfrontends
3
star
26

ru.single-spa.js.org

Russian translation of single-spa documentation
HTML
3
star
27

pt-pt.single-spa.js.org

Portuguese (Portugal) documentation for single-spa
HTML
3
star
28

single-spa-preact

a single-spa plugin for preact applications
JavaScript
3
star
29

sync-fork-repo

JavaScript
3
star
30

id.single-spa.js.org

Indonesian documentation
HTML
3
star
31

es.single-spa.js.org

Spanish translation of single-spa documentation
HTML
2
star
32

dom-element-getter-helpers

TypeScript
2
star
33

fr.single-spa.js.org

HTML
2
star
34

single-spa-aurelia

single-spa adapter for Aurelia framework
JavaScript
2
star
35

browserslist-config-single-spa

A shareable browserslist config for single-spa projects
JavaScript
2
star
36

design-docs

TypeScript
1
star
37

single-spa-dojo

single-spa adapter for dojo
JavaScript
1
star
38

single-spa-inferno

a single-spa plugin for Inferno applications
JavaScript
1
star
39

action-deploy-to-import-map-deployer

Github action for deploying to import-map-deployer
JavaScript
1
star
40

import-map-microfrontend-utils

Utility types and functions for import-map-microfrontend related projects
TypeScript
1
star