1.0.0 • Published 4 years ago
synchronous-fetch v1.0.0
Fetch Sync
Super simple synchronous fetch api.
This package is made for fun. Please do not use any synchronous http-request api in production.
Example
const fetchSync = require("synchronous-fetch");
const url = "https://example.com";
const res = fetchSync(url);
const html = res.text();
console.log(html);
ToDo
- Make it more similar to node-fetch
1.0.0
4 years ago