mihneadb / node-directory-tree

Convert a directory tree to a JS object.
MIT License
523 stars 106 forks source link

Changed attribute option to use Stats object keys as string type #78

Closed jonahgoldwastaken closed 4 years ago

jonahgoldwastaken commented 4 years ago

I saw that you just provide an arbitrary string array type to the attributes option, and since you can only provide those I thought it would be good to reflect that in the type definitions. 😄

jonahgoldwastaken commented 4 years ago

Here is an example of what the change provides:

Schermafbeelding 2020-10-10 om 00 19 52
mihneadb commented 4 years ago

Sweet! Thanks!