I needed a way to let users write JavaScript to create plugins for a site I'm building.
I couldn't find a solution I was happy with, so ended up building one that run's it in a web worker on a separate domain from your main site.
Hopefully I haven't missed anything. If so, please let me know!
My website has an interactive demo you can write code in the browser textarea, and see the output on the right.
Interactive Demo: https://workerbox.net/
Github: https://github.com/markwylde/workerbox
[1]: https://www.figma.com/blog/how-we-built-the-figma-plugin-sys...