electron-ext-icon
Get icon associated with file extension.
Installing
$ npm install electron-ext-icon
API
getExtIcon(ext: string, options?: Electron.FileIconOptions): Promise<Electron.NativeImage>
// Electron main;; ; icon.toDataURL; // Base64
Related
- Qusly - An FTP/SFTP client with Material Design UI.