Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/molt/lib/import_map.ts>readImportMapJson

Update dependencies the Deno way
Latest
function readImportMapJson
import { readImportMapJson } from "https://deno.land/x/molt@0.17.2/lib/import_map.ts";

Read and parse a JSON including import maps from the given file path or URL.

Parameters

url: string | URL

Returns

Promise<ImportMapJson>