0.1.0 • Published 4 years ago

tsify2 v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
4 years ago

tsify 2 NPM version Build Status Coverage percentage

Browserify plugin for TypeScript sources

Installation

npm install tsify2 --save-dev

Basic Usage

import * as Browserify from "browserify";
import Tsify from "tsify2";
  
const tsify = Tsify({
    // TypeScript compiler options
});

let browserify = Browserify()
    .add('main.ts')
    .plugin(tsify, {})
    .bundle((error, data) => {
        // do something with error and data
    });
;

API

Read the documentation for more information.

License

Apache-2.0 © Eric MORAND