/console

Simple JavaScript/TypeScript console

Primary LanguageTypeScriptMIT LicenseMIT

JavaScript/TypeScript Console

Simple JavaScript/TypeScript console. Open source alternative to JSFiddle and JS Bin.

418shots_so

Try it out

Try out the console here.

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 editor for a rich editing experience

Shortcuts

  • CMD/CTRL+ENTER - Runs the code.
  • CMD/CTRL+K - Clears the logs.