1.了解使用使用使用使用使用使用使用使用使用使用
2.使用
const path = require("path"); //跳转路径
let name = "http://www.w3.org/1999/xhtml";
//node 提供获取文件最后一个名字;
console.log("path", path.basename(name)); // xhtml
//该模块提供本地文件的读写能力
//读取文件内容的函数有异步的fs.readFile()和同步的fs.readFileSync()
const fs = require('fs')
fs.readFile 读取文件
//自动化更新视图
使用插件
数据库
Koa2框架
面试