type HTMLOptions = { title?: string; rootId: string; dataKey?: string; }; export const getHTML = (opts: HTMLOptions) => { return ` ${opts.title || 'Kevisual'}
`; }; export const getDataJs = (result: any) => { return 'export const data=' + JSON.stringify(result); };