jstransformer-typescript

TypeScript support for JSTransformers.

Usage no npm install needed!

<script type="module">
  import jstransformerTypescript from 'https://cdn.skypack.dev/jstransformer-typescript';
</script>

README

jstransformer-typescript

typescript support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-typescript

API

var typescript = require('jstransformer')(require('jstransformer-typescript'))

typescript.render("let x: string = 'Hello, World!'").body
//=> var x = 'Hello, World!';

License

MIT