node-win-extracticon
v1.0.0
Published
A native plugin to extract associated icon from a file. Work on windows only. It extracts a large icon with transparency.
Downloads
3
Maintainers
Readme
node-win-extracticon
A small plugin that let you extract an associated icon from a file. The icon extracted is large and contains transparency. The plugin let you display a list of file using OS file system icons. It only works with windows OS.
Usage
npm i --save node-win-extracticon
getIcon(path.resolve("./donotexists"), "test/donotexists.ico", function (err,msg) {
console.log(msg);
})
Typescript definition
declare module exicon{
export function getIcon(src: string, dest: string, callback: (err:Error,path:string) => void) ;
}
See demo folder!