JS Code Runner is a web-based tool that allows you to write, run, and save JavaScript code snippets directly in your browser. It features an interactive code editor with syntax highlighting, auto-completion, and theme support.
- Interactive Code Editor: Powered by ACE editor with syntax highlighting and live auto-completion.
- Theme Support: Switch between different editor themes.
- Auto Save: Automatically save your code every 50 seconds.
- Manual Save: Save your code manually with a click or using
Ctrl + S
. - Clear Code: Clear your saved code with a click.
- Real-time Output: See the output of your code in real-time as you type.
- Notification System: Get notifications for actions like save and clear.
To run the JS Code Runner locally:
-
Clone the repository:
git clone https://github.com/imvks786/JSRunner.git
-
Navigate to the project directory:
cd JSRunner
-
Open
index.html
in your favorite web browser.
JS Code Runner relies on the following libraries and frameworks:
These dependencies are included via CDN links in the index.html
file.
- Write Code: Start writing your JavaScript code in the editor.
- Run Code: The code runs automatically and the output is displayed in real-time.
- Save Code: Click the save icon or press
Ctrl + S
to save your code. - Clear Code: Click the delete icon to clear the saved code.
- Change Theme: Use the theme selector to switch between different editor themes.
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.
This project is licensed under the MIT License.
- Thanks to the developers of ACE Editor and Bootstrap for their awesome tools.
- Icons by Google Material Icons.