UNPKG
fs-tree-structure
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Build filesystem tree structure from flat paths
fs-tree-structure
/
dist
/
index.d.ts
7 lines
(6 loc)
•
180 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
type
TreeStructure
= { [
key
:
string
]:
TreeStructure
; };
export
declare
function
makeTreeStructure
(
filePaths
:
string
[],
options
?: { sort:
boolean
; }
):
TreeStructure
;