foldertojson
v0.4.7
Published
Generates a JavaScript object (or JSON text) that represents the structure of a folder.
Downloads
806
Readme
folderToJson
Generates a JavaScript object (or JSON text) that represents the structure of a folder.
Basic functionality
The test app displays in the console the folder hierarchy of the node_modules folder.
Advanced functionaly
You can cook your own generator for other formats by following the example of getObject in foldertojson.js.
Updates
2/22/21 by DW
Attributes for folders such as creation and mod dates, and add an extral level between a folder and its subs. This conforms to the JSON structure we use for outlines so it should just plug right into LO2, which was the plan.
Changed the test script to run from the root folder of the project instead of a sub-folder. Makes debugging much easier.