A scratchpad. Read, Evaluate, Print, Loop, but with a nicer editor.

A javascript/node.js scratchpad.
Download the latest release here.
DESCRIPTION
This is just a simple editor that evaluates your source text as you type. It'selectron, so you have the node and browser APIs.
HOW IT WORKS
Your script will get evaluated when you stop typing. Use console.log('hello')
to get output in the right-hand panel.

Includes a dark mode and a document window to play with.

To use modules from npm, just set your working directory to a place wherethose modules are installed. For example you can create a directory (callit whatever you want)...
bashmkdir ~/sandboxcd sandboxnpm install preact
Then you can set your Working Directory
to ~/sandbox
from the Options
menu...

You can also start Scratches
from the command line. You could createa symbolic link to the binary if you often start it from the commandline...
/Applications/Scratches.app/Contents/MacOS/Scratches .
To restore the repository download the bundle
wget https://archive.org/download/github.com-0x00A-scratches_-_2018-01-22_18-55-59/0x00A-scratches_-_2018-01-22_18-55-59.bundle
and run:
git clone 0x00A-scratches_-_2018-01-22_18-55-59.bundle
Source:
https://github.com/0x00A/scratchesUploader:
0x00AUpload date: 2018-01-22