Mouri in a browser example All you need is to host this directory for javascript module contexts to be allowed. A simple way to host is to cd into the directory and run > npx servor .