Are there any tool auto generate js extern for haxe?

Are there any tool auto generate js extern for haxe?
current I find some tool at haxelib:
BuildHx? jsduck?//may be dead
refactor//have no js extern function

any help?

from js there is probably none. Generating from js is probably to complex.

However… luckily there are typescript definitions available for many js libraries. So I reckon best try would be to generate haxe externs from those. I would take a look at: GitHub - Simn/ts2hx: Typescript external definitions to haxe converter

2 Likes