Example: const api = ky.extend({ responseBodyEncoding: "json" }) Now any time a request is made with ky, it will be as if you called .json() after it api.get("example.com").json() -> api.get("example.com")