I was thinking about making Bash an interpreter a library, but I just found that Vercel published Just Bash, which has the same functionality.