const { createDirNotExist } = require('expresso-core')
import { createDirNotExist } from 'expresso-core'
import { createDirNotExist } from 'expresso-core'
const dir = `${process.cwd()}/public/temp`
createDirNotExist(dir)
import { readHTMLFile } from 'expresso-core'
const filePath = path.resolve(`${process.cwd()}/public/output/test.html`)
const content = await readHTMLFile(filePath)
console.log(content)
// output:
// file buffer
import { deleteFile } from 'expresso-core'
const filePath = path.resolve(`${process.cwd()}/public/output/test.txt`)
deleteFile(filePath)