This package has been deprecated

Author message:

This package is not maintained anymore.

typescript2js-bundle

2.2.3 • Public • Published

Creates plain ES5 JavaScript bundles from TypeScript and JavaScript files.

This package is not actively maintained. Use Browserify and Co. directly.

Usage

var path = require( 'path' ),
    buildBundle = require('node-typescript-bundle').buildBundle;

buildBundle(
        'my-bundle',
        path.join( __dirname, 'dist' ),
        [ path.join( __dirname, 'src', 'ts-file.ts' ) ]
).then(
        i => console.log( 'Done:', i.files.join( ', ' ) ),
        err => console.error( err )
);

Testing

To run the Jasmine unit tests, run:

npm test

/typescript2js-bundle/

    Package Sidebar

    Install

    npm i typescript2js-bundle

    Weekly Downloads

    1

    Version

    2.2.3

    License

    ISC

    Unpacked Size

    4.86 kB

    Total Files

    7

    Last publish

    Collaborators

    • granjow