Skip to main content
Module

x/import_maps/mod.js

Implementation of the import maps spec in JavaScript for the browser and Deno.
Latest
import * as importMaps from "https://deno.land/x/import_maps@v0.1.1/mod.js";

Functions

Creates an empty import map which you can use in scenarios where no import map was provided. For instance, you could use this as a place holder.

Parses an import map json object that can be used later for resolving specifiers.

Resolves a module specifier, i.e. the string inside an import statement.