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

x/capi/deps/dnt.ts

[WIP] A framework for crafting interactions with Substrate chains
Latest
import * as capi from "https://deno.land/x/capi@v0.1.1-beta.1/deps/dnt.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

Based on version 9.6.6

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.