hax

haxeify

Browserify transform to compile Haxe

Showing:

Popularity

Downloads/wk

0

GitHub Stars

7

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

haxeify

Browserify transform to compile Haxe.

Installation

With npm:

$ npm install haxeify --save-dev

Usage

foo.js:

var bar = require('./Bar.hx');
console.log(bar.Bar.baz());  // => 'qux'

Bar.hx:

package ;

class Bar {

    @:expose
    static public function baz():String {
        return 'qux';
    }
}

To compile:

$ browserify -t haxeify foo.js > bundle.js

You can use haxelib by giving --lib options:

$ browserify -t [ haxeify --lib foo --lib bar --lib baz ] qux.js > bundle.js

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial