When the haxelib is installed, it is ready to be used it code. This is a matter of adding --library libraryname (or -L libraryname) to the compiler arguments.
haxe --main Main --library libraryname --js bin/main.js
The same parameters you pass to the compiler can be stored in a hxml file:
--main Main
--library libraryname
--js bin/main.js
When using OpenFL, add <haxelib /> tags in the project.xml to include Haxe libraries:
<haxelib name="actuate" />
To specify a version:
<haxelib name="actuate" version="1.0.0" />
Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!
Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.