lashbash is a nuxt app that works as a Node.js sandbox.
It uses vm2 internally to run the JavaScript code.
Try the demo here!
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.