I used, and contributed to this project when I was playing around with MongoDB and OSM.

https://github.com/sammerry/node-mongosm