There are a couple of options out there. This one looks perfect: https://github.com/Sinova/Collisions (haven't used yet, though)
Depending on what your gameplay looks like, you can use a pathfinding library and avoid checking collisions, since the path finder won't allow it: https://qiao.github.io/PathFinding.js/visual/
Hope this helps! Feel free to create a "showcase" thread here to share your progress! Cheers!