Skip to main content
Module

x/dnt/mod.ts

Deno to npm package build tool.
Go to Latest
import * as dnt from "https://deno.land/x/dnt@0.30.0/mod.ts";

Functions

Builds the specified Deno module to an npm package using the TypeScript compiler.

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

Interfaces

Provide true to use the shim in both the distributed code and test code, "dev" to only use it in the test code, or false to not use the shim at all.