1.1.1 • Published 2 years ago

dir-tree-to-json v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

dir-tree-to-json

a node script to convert a directory structure to a json file

Usage

npx dir-tree-to-json <directory-path>

which would generate a json file representing the file structure of the passed directory

Options

--only-directory

npx dir-tree-to-json <directory-path> --only-directory

Will only output directories and omit files

--extensions

npx dir-tree-to-json <directory-path> --extensions=mp4,json

Will only output files that ends with the provided extensions, if --only-directory is present, this flag will be ignored

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago