When using NPM Dependencies in Haxe, the referenced JS doesn't get automatically pulled into your Haxe-compiled JS file.
One way to include this JS is using webpack.
These dependencies will only be resolved by webpack if you use the
Firstly install webpack:
npm i -g webpack.
After Haxe generates it's JS output, it will contain un-resolved
To resolve these dependencies (and any deeper dependencies), run webpack like this:
webpack --config webpack.config.js