path-list-to-tree
Converts a list of file paths into a tree structure.
Example
; const filePaths = '.gitignore' 'README.md' 'package.json' 'src/index.ts' 'tsconfig.json' 'yarn-error.log' 'yarn.lock'; console
Converts a list of file paths into a tree structure.
; const filePaths = '.gitignore' 'README.md' 'package.json' 'src/index.ts' 'tsconfig.json' 'yarn-error.log' 'yarn.lock'; console
npm i path-list-to-tree
351
1.1.1
MIT
2.36 kB
4