User:Tokenzero/test.js

import * as util from '/w/index.php?title=User:Tokenzero/tinfoboxUtil.js&action=raw&ctype=text%2Fjavascript';

(async function {	console.log(await util.getWikitext('Foo')); });