i did this yesterday: https://github.com/jfromaniello/sublime-node-require