Get icon associated with file extension.
$ npm install electron-ext-icon
getExtIcon(ext: string, options?: Electron.FileIconOptions): Promise<Electron.NativeImage>
// Electron main
import { writeFileSync } from 'fs';
import { getExtIcon } from 'electron-ext-icon';
const icon = await getExtIcon('html', { size: 'normal' });
icon.toDataURL(); // Base64
- Qusly - An FTP/SFTP client with Material Design UI.