Wes Bragavim-wes
Platform Engineering

RunJS the ultimate JavaScript playground

October 22, 2022
runjs-playground

RunJS is the cross-platform tool that every JavaScript developer need. Write and see the output of your code right away.

Waiting for a slow feedback loop

The problem that I’m trying to solve here is simply the time wasted on waiting for bundlers and dev scripts to run in order to see the result of a JavaScript native method, libraries or functions that you happen to have written and just want to see the output.

RunJS for the Win

RunJS is a desktop application built with Electron. Open source, lighting fast and configurable that allows you to run JavaScript code in a window that shows you instantly what the output is. On top of that you can save your code in a regular .js file that you can run with NodeJS later.

It supports modern JavaScript syntax and TypeScript. Thanks to Babel, and also our lovely NPM modules that can be easily downloaded and imported.

It can run offline so you can still code and solve challenging problems just by writing on RunJS. By the way one of my favorite things to do for learning different design patterns in JavaScript is to practice challenges using this sandbox environment.

RunJS

Wrapping up

Seeing how my code works in isolation has led me to increasing my input/output velocity as far as learning, experimenting and implementing on my daily journey as a JavaScript Software Engineer.

Checkout https://runjs.app/ for more details on the official page and also follow the author Luke Haas on Github if you are interested in contributing to the project.