Quokka.js is a rapid prototyping playground for JavaScript and TypeScript. It runs your code immediately as you type and displays various execution results in your code editor.

Install in VS Code

What is Quokka and how it can help me?

Need some isolated space for a small prototype?

Keep forgetting how a certain library function works, so just want to call it and inspect the output?

Want to experiment with a new language feature or a framework, to learn it or to teach it to others?

Want to just run a code snippet or a code file?

Yet hate to leave your nicely configured editor? To lose all the keyboard shortcuts, and the autocomplete, and the best color scheme for your eyes, and a few source code files you may need for the experiment?

This is where Quokka.js comes to rescue and provides a rapid prototyping playground in your editor, with access to your project's files, inline reporting, code coverage and rich output formatting.

Stop letting your awesome ideas die just because it was too hard to check them, start experimenting now.

Free 'Community' edition

Quokka.js is brought to you by Wallaby.js team and is built on top of the same technology used in Wallaby.js Core. Whenever you are ready to take your experiment to the next level, to start turning it into a feature and writing some tests, and would also like the same live editing features for your unit tests and all files of your project, and a lot more, then definitely check out Wallaby.js.

We are making Quokka.js 'Community' edition free for everyone.

We are also offering the commercial 'Pro' edition with some advanced features.


Quokka.js supports user plugins that can provide hooks at various stages of the code execution process. Write your own awesome plugin and share it with others.

Editor and project context

While various online REPL solutions and standalone playgrounds can be great, they all have two major cons: they live outside of your code editor and outside of your project context.

Quokka.js allows to execute the code right in your editor, to avoid much context switching. You can import and execute files and modules from your project.

Right now Quokka.js is available for VS Code, Jetbrains IDEs, Atom Editor, and Sublime Text.

Zero configuration

You don't need to configure anything by default, just open a new quokka file and start experimenting. Reasonably good configuration is handled for you, so you can focus on writing code rather than on setting up a build process to just try a simple idea or learn a new language feature.

Fast, reliable and time tested

While working on Wallaby.js, our team is facing thousands of various scenarios and edge cases of compiling, bundling, pre-processing, source-mapping, instrumenting, isolating and running JavaScript code. Quokka.js is able to stand on the shoulders of its big brother and make the countless and ongoing man months of work available to you for free.

Quokka.js also runs the code instantly as you type, you don't even need to save the file.

Supports Babel, TypeScript, JSX, etc.

Quokka.js provides out-of-the-box support for TypeScript and Babel, with a plugin it can import and run any file that compiles to JavaScript and runs in node.js (Quokka file itself will still be in JavaScript or TypeScript). Browser environment via jsdom is also supported. We have various examples of Quokka.js working with specific frameworks and libraries (e.g. Create-React-App).