node-qpath:Node.JS 的面向对象文件系统和路径 API

时间:2021-07-08 17:11:36
【文件属性】:
文件名称:node-qpath:Node.JS 的面向对象文件系统和路径 API
文件大小:6KB
文件格式:ZIP
更新时间:2021-07-08 17:11:36
JavaScript 节点qpath Node.JS 的面向对象的文件系统和路径 API 基本API var qp = require ( 'qpath' ) ( '/path/to/something' ) ; qp . path // returns '/path/to/something' qp . basename // returns 'something' (equivalent to require('path').basename()) qp . dirname // returns '/path/to' (equivalent to require('path').dirname()) qp . exists ( [ callback ] ) // equivalent to require('fs').exists() qp . existsSync ( ) // synchronou
【文件预览】:
node-qpath-master
----.gitignore(39B)
----package.json(506B)
----LICENSE(1KB)
----README.md(1KB)
----lib()
--------qpath.js(6KB)
----test()
--------index.js(9KB)
--------dummy-directory.ignore()

网友评论