javascript - Node.js fs get icon of files in directory -
javascript - Node.js fs get icon of files in directory -
i want build file scheme explorer app, , want list files icons. utilize node-webkit. , files can executables, directories , files. in file list want diplay files icon , name.
can utilize node.js fs module getting icons? or there module reading icons?
how can icon of file?
icons dependent on operating scheme / browser application , aren't generic interface provided node.js - instead need first resolve type of file, pick , show icon type of file.
you can utilize fs module resolving type - stats.
the type of icon show - operating systems may provide these you, find location.
javascript html5 node.js file-io node-webkit
Comments
Post a Comment