tsminifier

Typescript minifier providing identifier mangling and whitespace removal.

Usage no npm install needed!

<script type="module">
  import tsminifier from 'https://cdn.skypack.dev/tsminifier';
</script>

README

npm version Build Status

TsMinifier

TsMinifier is a Typescript minifier providing identifier mangling and whitespace removal.

Top Features

  • Minifies Typescript files directly.
  • Transform plugin for ts2js compiler.

TsMinifier Wiki

Documentation can be found on the TsMinifier wiki.

How to install

npm install tsminifier

Building TsMinifier

TsMinifier depends on NPM as a package manager and Gulp as a build tool. If you haven't already, you'll need to install both these tools in order to build TsMinifier.

Once Gulp is installed, you can build it with the following commands:

npm install
gulp build