If you wanna do this at runtime, well, I suspect a node-like environment would be required at runtime.