Closed mattdesl closed 8 years ago
I never though about it's possible use in the browser, to be honest.
I sure can release a transpiled distribution, but I don't want it to be the main entry point. I will work on it.
I've added the transpiled and minified versions: https://github.com/albertorestifo/node-dijkstra/tree/master/dist Documentation and publication on NPM and Browserify to come.
Keep in mind you will need the Babel Polyfill in order for the transpiled library to work properly.
I decided against publishing a browser-friendly copy of the library
Since the new version relies on ES6, the module no longer works reliably in the browser or in older versions of Node. Is there any particular reason you decided not to pre-publish ES5 to npm?