发布于 4年前

Deno 读取文件内容

const filePath = './index.html'
const decoder = new TextDecoder('utf-8')
const content = decoder.decode(await Deno.readFile(filePath))
©2020 edoou.com   京ICP备16001874号-3