安装 npm install npmtest0001_lxf ## 导入 const lxf = require('npmtest0001_lxf') 使用 console.log(lxf.dateFormat(new Date()))