Excalidraw has an NPM package!: npmjs.com/package/@excalidraw/excalidraw
It is very easy in my experience to set up a local npm project that's just an empty HTML with Excalidraw inside, working fully locally - great if you're behind some firewall or similar network isolation.