microlink logo

Microlink Recipe

Short extract resume for any website

getExcerpt.js
const mql = require('@microlink/mql')

const getExcerpt = async (url, opts) => {
  const { data } = await mql(
    url,
    {
      function: await compress,
      meta: false,
      ...mqlOpts,
      ...opts,
    },
    gotOpts
  )

  return data.function
}

const result = await getExcerpt('https://fithero.app')

mql.render(result)