Make a promise-style function synchronous.
npm install sify
const sify = require("sify");
const got = require("got");
const {body} = sify(got)("https://google.com")
console.log(body)
//=> "<!doctype html>..."
Type: function
- p-syncy - Resolve a promise synchronously.