@oazmi/esbuild-plugin-deno - v0.4.0
    Preparing search index...

    an abstraction for import-map utilities of a general javascript runtime's package object with the schema SCHEMA.

    • in the case of node, SCHEMA would represent package.json's schema.
    • in the case of deno, SCHEMA would represent deno.json, deno.jsonc, or jsr.json's schema.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    packagePath: string

    the path or url of the package json(c) file.

    the base class does nothing with this information; it is just there so that subclasses can make uses of this information (usually for resolving relative paths).

    packageInfo: DenoJsonSchema

    the fetched/parsed package metadata file's raw contents.

    importMapSortedEntries: ImportMapSortedEntries

    the import-map entries of the package, sorted from the largest key-alias to the shortest.

    Note

    each subclass will have to assign on their own, in addition to ensuring the required sorting order.

    exportMapSortedEntries: ImportMapSortedEntries

    the export-map entries of the package, sorted from the largest key-alias to the shortest.

    Note

    each subclass will have to assign on their own, in addition to ensuring the required sorting order.

    Methods

    • get the path/url to the package's json(c) file.

      the base class does nothing with this information; it is just there so that subclasses can make uses of this information (usually for resolving relative paths).

      Returns string