Closed sooxt98 closed 4 years ago
Unable to reproduce, you need to share what your code is doing.
Just running yarn add fetch-h2
and running this, works fine for me:
const {fetch} = require('fetch-h2');
async function f(){
const res = await fetch("https://google.com");
const body = await res.text();
}
f();