Skip to content

fedeghe/malta-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


npm version npm downloads npm downloads

This plugin can be used on: .ts files

tsc needs to be available from the console.

Options : no options

Sample usage:

malta app/source/home.ts public/js -plugins=malta-typescript

or in the .json file :

"app/source/home.ts" : "public/js -plugins=malta-typescript"

or in a script :

var Malta = require('malta');
Malta.get().check([
    'app/source/home.ts',
    'public/js',
    '-plugins=malta-typescript',
    '-options=showPath:false,watchInterval:500,verbose:0'
    ]).start(function (o) {
        var s = this;
        console.log('name : ' + o.name)
        console.log("content : \n" + o.content);
        'plugin' in o && console.log("plugin : " + o.plugin);
        console.log('=========');
    });

About

malta plugin to transpill typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published