https://github.com/sonnyt/console
Simple JavaScript/TypeScript console
https://github.com/sonnyt/console
editor javascript react typescript
Last synced: 5 months ago
JSON representation
Simple JavaScript/TypeScript console
- Host: GitHub
- URL: https://github.com/sonnyt/console
- Owner: sonnyt
- License: mit
- Created: 2024-01-15T17:18:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T02:59:45.000Z (over 2 years ago)
- Last Synced: 2024-05-01T12:34:38.565Z (about 2 years ago)
- Topics: editor, javascript, react, typescript
- Language: TypeScript
- Homepage: https://console.sonnyt.com
- Size: 271 KB
- Stars: 44
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JavaScript/TypeScript Console
Simple JavaScript/TypeScript console. Open source alternative to [JSFiddle](https://jsfiddle.net) and [JS Bin](https://jsbin.com).

## Try it out
Try out the console [here](https://console.sonnyt.com).
## Why?
I needed a convenient way to quickly run JavaScript and TypeScript code without having to open VSCode or a terminal. Other alternatives I found were either too bloated with a heavy focus on HTML and CSS, or too basic with unreliable logging. So, I decided to build my own code runner using the same editor that VSCode uses, which provides a lot of handy features right out of the box.
## Features
- TypeScript support
- Code completion
- Decent logging capabilities
- Lightweight and user-friendly
- Localstorage support for data persistence
- Powered by [Monaco](https://microsoft.github.io/monaco-editor/) editor for a rich editing experience
## Shortcuts
- `CMD/CTRL+ENTER` - Runs the code.
- `CMD/CTRL+K` - Clears the logs.