node-mongo-module This is Node module which is act like plugin for you code Using This Module you can achive : Seperate DB access from your node modules No source code share if you use private repositories you can give permission on module rather than whole project