You could use the sublime-text-shell-command plugin. According to the documentation, the following should do exactly what you want:
[
{
"keys": ["ctrl+enter"],
"command": "shell_command",
"args": {
"command": "npm install",
"region": "arg"
}
}
]