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

x/mesozoic/lib/deps.ts>ImportSpecifier

A generic build system for Deno web apps
Go to Latest
interface ImportSpecifier
import { type ImportSpecifier } from "https://deno.land/x/mesozoic@v1.0.3/lib/deps.ts";

Properties

readonly
n: string | undefined

Module name

To handle escape sequences in specifier strings, the .n field of imported specifiers will be provided where possible.

For dynamic import expressions, this field will be empty if not a valid JS string.

readonly
s: number

Start of module specifier

readonly
e: number

End of module specifier

readonly
ss: number

Start of import statement

readonly
se: number

End of import statement

readonly
d: number

If this import statement is a dynamic import, this is the start value. Otherwise this is -1.

readonly
a: number

If this import has an import assertion, this is the start value. Otherwise this is -1.