
# Node Runner for VS Code
Execute Node.js scripts effortlessly directly from your editor.

Node Runner provides a seamless experience for Node.js developers in VS Code. Inspired by the popular Python Runner, it allows you to run, stop, and manage your Node.js scripts and NPM commands without leaving your code.
✨ Features
🚀 Instant Execution
Run your current JavaScript file (.js) instantly with a single click on the Play button in the editor title bar. No complex launch configurations required.
⏹️ Control Execution
Need to stop a long-running script or server? Simply hit the Stop button in the title bar to terminate the process immediately.
📦 NPM Command Center
Access your project's package.json scripts and essential NPM commands from a dedicated Activity Bar View:
- Scripts: One-click execution of any script defined in your
package.json.
- Quick Actions:
npm install - Install dependencies.
npm init - Initialize a new project.
npm outdated - Check for outdated packages.
npm audit - Run security audit.
🔄 Node.js Version Check
Stay up-to-date with automatic checks for the latest Node.js LTS version. The extension can notify you if your local version is outdated and provide a direct link to upgrade.
📥 Installation
- Open VS Code.
- Go to the Extensions view (
Ctrl+Shift+X).
- Search for "Simple Node.js Runner".
- Click Install.
🛠️ Usage
Running a Script
- Open any
.js file in the active editor.
- Click the Play icon $(play) in the top-right editor title bar.
- Output will appear in the "Node Runner" output channel.
Using NPM Commands
- Click on the Node Runner icon in the Activity Bar.
- Expand the NPM Commands view.
- Click on the Run icon $(play-circle) next to any script to execute it.
📋 Requirements
- Node.js: Must be installed and added to your system's
PATH.
- VS Code: Version 1.70.0 or higher.
🤝 Support & Feedback
If you encounter any issues or have suggestions for improvements, please feel free to reach out or report a bug.
Made with ❤️ by Xarmina Private