1.0.0 • Published 2 years ago
icon-extractor-win v1.0.0
icon-extractor-win
This package is a simple nodejs package to extract icons from Windows executables.
This package supports the extraction of icons from .exe, .lnk and .url files. It will always return the highest available resolution.
Usage
To get the icon from a Windows executable, you can use the following function. The output will be a base64 data URL.
const winIconExtractor = require('icon-extractor-win');
await winIconExtractor.getIcon('C:/path/to/file.exe');
import { getIcon } from 'icon-extractor-win';
await getIcon('C:/path/to/file.exe');
1.0.0
2 years ago