Skip to main content
Module

x/dnt/transform.ts>PackageMappedSpecifier

Deno to npm package build tool.
Go to Latest
interface PackageMappedSpecifier
import { type PackageMappedSpecifier } from "https://deno.land/x/dnt@0.30.0/transform.ts";

Properties

name: string

Name of the npm package specifier to map to.

optional
version: string

Version to use in the package.json file.

Not specifying a version will exclude it from the package.json file. This is useful for built-in modules such as "fs".

optional
subPath: string

Sub path of the npm package to use in the module specifier.

optional
peerDependency: boolean

If this should be a peer dependency.