Tool -> Build Sytem -> New Build System,添加以下内容:
{ "cmd": ["node", "$file"], "selector": "source.js" }
保存到默认目录,以javascript为文件名,后缀不变。注意你的Node需要在环境变量中.