1.0.5 • Published 6 years ago
@inithink/exe-icon-extractor v1.0.5
exe-icon-extractor
Extract exe file icon as buffer
Support windows only.
###Example
const {extractIcon} = require('@inithink/exe-icon-extractor');
const buffer = extractIcon("C:\\Windows\\System32\\cmd.exe", "large");
const fs = require('fs');
fs.writeFileSync('cmd.ico', buffer);