Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/source_map/lib/source-map-consumer.js

Port of mozilla / source-map to deno.
Latest
import * as sourceMap from "https://deno.land/x/source_map@0.8.0-beta.1/lib/source-map-consumer.js";

Classes

A BasicSourceMapConsumer instance represents a parsed source map which we can query for information about the original file positions by giving it a file position in the generated source.

An IndexedSourceMapConsumer instance represents a parsed source map which we can query for information. It differs from BasicSourceMapConsumer in that it takes "indexed" source maps (i.e. ones with a "sections" field) as input.