Simon Willison on Nostr: I figured out how to use npm and webpack to get a copy of QuickJS (a JavaScript ...
I figured out how to use npm and webpack to get a copy of QuickJS (a JavaScript runtime complied to WebAssembly, useful for executing untrusted code in a sandbox) that I can load like this:
```
<script src="dist/quickjs.js"></script>
```
Detailed notes here - so glad to have found a recipe for this that fits my very specific tastes in JavaScript
https://til.simonwillison.net/npm/self-hosted-quickjs
```
<script src="dist/quickjs.js"></script>
```
Detailed notes here - so glad to have found a recipe for this that fits my very specific tastes in JavaScript
https://til.simonwillison.net/npm/self-hosted-quickjs