Skip to main content

Built and signed on GitHub Actions

Minifier for TypeScript declaration files (.d.ts)

This package works with Bun, Cloudflare Workers, Node.js, Deno, Browsers
JSR Score
100%
Published
3 months ago (0.3.3)
interface MinifyOptions

Options for minifying.

Properties

optional
keepJsDocs: boolean

Does not remove the JS docs when true.

Add Package

deno add @david/dts-minify

Import symbol

import { type MinifyOptions } from "@david/dts-minify";

Add Package

npx jsr add @david/dts-minify

Import symbol

import { type MinifyOptions } from "@david/dts-minify";

Add Package

yarn dlx jsr add @david/dts-minify

Import symbol

import { type MinifyOptions } from "@david/dts-minify";

Add Package

pnpm dlx jsr add @david/dts-minify

Import symbol

import { type MinifyOptions } from "@david/dts-minify";

Add Package

bunx jsr add @david/dts-minify

Import symbol

import { type MinifyOptions } from "@david/dts-minify";