node-win-extracticon
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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!

Package Sidebar

Install

npm i node-win-extracticon

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

6.69 MB

Total Files

38

Last publish

Collaborators

  • nabil_mansouri