Thanks for creating this project. To make it more available I have published my fork on npm (moresketchy).
https://www.npmjs.com/package/moresketchy
It leaves the hungarian calculation to another repo called munkres-js, since it is maintained better. If you have any concerns, do contact me.