Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

hxcommonjs

You can use hxcommmonjs export commonjs modules.

Install

haxelib install hxcommonjs

Usage

hx.commonjs.Export.set("Hello", "Hello");

parameter 1 is field of exports, and 2 is class name.

// JS

var example = require("example.js");
var hello = new example.Hello();
console.log(hello.say());

// got "hello"

About

You can using hxcommmonjs export commonjs modules.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages