import util from './../src/default'; const html = `
`; util.loadHTML(html, { height: 100, width: 200 }).then((img) => { document.querySelector('body').appendChild(img) }).catch(err => { console.log(err); })