On the frontpage of https://liquidjs.com/ they give this example
import { Liquid } from 'liquidjs'
const engine = new Liquid()
const tpl = engine.parse('Welcome to {{v}}!')
engine.render(tpl, {v: "Liquid"}).then(console.log)
Question
How can I save the output in a variable instead of printing it right away?