MrRaindrop / tree-cli

🌴List contents of directories in tree-like format.
MIT License
253 stars 24 forks source link

Available to be used as npm module #9

Closed avegancafe closed 5 years ago

avegancafe commented 7 years ago

Are there any plans to make this available to use as a require-able node module? I'm looking for something similar to this for one of my projects and it'd be pretty awesome to be able to use in another node script :)

MrRaindrop commented 7 years ago

I think this idea is definitely a good idea ! I'll make this require-able when I have time to do the work... May be in this weekend. Thx for your feedback !

yangshun commented 6 years ago

@kyleholzinger Check out a similar package that I wrote to solve this pain point - https://github.com/yangshun/tree-node-cli

avegancafe commented 6 years ago

Nice @yangshun ! Thanks!!

MrRaindrop commented 5 years ago

I've added the export function to return a promise with tree data and also export the d.ts in the package in the last publish version 0.5.1