poetries.github.io icon indicating copy to clipboard operation
poetries.github.io copied to clipboard

Nodejs之基础API(三) | Poetry's Blog

Open poetries opened this issue 6 years ago • 0 comments

http://blog.poetries.top/2017/10/15/node-base-api/

Path 提供了一些工具函数,用于处理文件与目录的路径 basename、dirname与extname 返回一个 path的最后一部分 返回一个 path 的目录名 返回 path 的扩展名 1234567const {basename,dirname,extname} = require("path");const filePath = "/usr/local/bin

poetries avatar Jan 30 '19 14:01 poetries