Simple JavaScript API wrapper

from blog Muffin Man, | ↗ original
For handling API calls I have a small snippet I'm copying from project to project. I decided to clean it up, make more generic and share it. It is intended to be a starting point, so you might want to customize it to your custom needs. What it does? # It is a simple wrapper around native fetch. (If you need a polyfill isomorphic-fetch is a...