While working with zeit now serverless functions I needed to execute my apis locally (they connected to a db and processed the data) and see if they work correctly
This code allows you to execute any api and just logs or ignores the result of the api. Useful for manual checks but could be expanded to run automated tests as well.
What I like is that you can test any api just importing the api and instanciating a client. The requests are JavaScript objects and that makes it very natural and simple to read and write api tests.
The heart of the client creator is the createExecutor higher order function, that's the real MVP.