【文件属性】:
文件名称:gedi-paths:Gedi 路径语法库
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-22 21:24:30
JavaScript
格地小径
用于处理 gedi 路径的便利库。
var paths = require('gedi-paths');
paths.create(number/string/array);
// Create a valid gedi path from a string/number, or an array of strings/numbers.
paths.isAbsolute(path);
// Checks if a path is absolute (basically, starts with '/'
paths.isRoot(path);
// Checks if a path is equivilent to '[]'
paths.append(path1, path2, ... pathN);
// Adds paths together to form an unres
【文件预览】:
gedi-paths-master
----detectPath.js(651B)
----package.json(739B)
----test()
--------index.js(5KB)
----.gitignore(25B)
----README.md(1KB)
----paths.js(7KB)