How I approached a small TypeScript APIWhat I learned about making a small API easy to test, run, and hand off.