ts2js

A simple, fast, incremental Typescript compiler supporting custom transformers.

Usage no npm install needed!

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

README

npm version Build Status

ts2js

A simple, fast, Typescript compiler supporting custom transforms, incremental and type checking builds.

Top Features

  • Fast, cache optimized, in-memory builds
  • Compiles projects, files and modules
  • Incremental and type checking only builds
  • Supports Typescript custom transforms
  • Supports Typescript 4.1
  • Experimental support for Solution builds

ts2js Wiki

Documentation can be found on the ts2js wiki.

How to install

npm install ts2js

Building ts2js

ts2js 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 ts2js.

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

npm install
gulp build