running javascript with webkit

Hello everyone 👋

Currently to run my javascript in the terminal I use node as such:

Code Block
$ node hello.js


Instead of Chromium I would like to use the webkit engine to test and debug my javascript in this manner.

Code Block
$ webkit hello.js



I am not sure where to start looking and I am hoping someone here could be of assistance.

Thank you for your time.

// Björn Hjorth