Skip to content

lino-levan/dts-minify-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.d.ts Minify CLI

JSR CI

A CLI tool to minify DTS files based on dts-minify.

Installation

deno install --reload -f jsr:@lino/dts-minify-cli --name dts-minify

Usage

By default, dts-minify will read stdin and write to stdout.

dts-minify < input.d.ts > output.d.ts

You can also specify an input file and an output file.

dts-minify --input-file input.d.ts --output-file output.d.ts

Options

If you'd like, you can also specify whether you'd like to keep jsdoc comments or not.

dts-minify --keep-jsdoc --input-file input.d.ts --output-file output.d.ts

About

A simple cli tool for minify .d.ts files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published