{"id":13669795,"url":"https://github.com/sentialx/extract-file-icon","last_synced_at":"2025-04-27T08:32:53.385Z","repository":{"id":34222379,"uuid":"172236146","full_name":"sentialx/extract-file-icon","owner":"sentialx","description":"Get associated file icon","archived":true,"fork":false,"pushed_at":"2022-12-08T14:17:05.000Z","size":105,"stargazers_count":24,"open_issues_count":9,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T06:37:31.926Z","etag":null,"topics":["file","icon","library","native","node","typescript","windows"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentialx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-23T16:25:48.000Z","updated_at":"2024-09-24T10:33:40.000Z","dependencies_parsed_at":"2023-01-15T05:24:22.425Z","dependency_job_id":null,"html_url":"https://github.com/sentialx/extract-file-icon","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fextract-file-icon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fextract-file-icon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fextract-file-icon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fextract-file-icon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentialx","download_url":"https://codeload.github.com/sentialx/extract-file-icon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251112610,"owners_count":21538162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file","icon","library","native","node","typescript","windows"],"created_at":"2024-08-02T09:00:22.202Z","updated_at":"2025-04-27T08:32:52.948Z","avatar_url":"https://github.com/sentialx.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# extract-file-icon\n\nGet associated file icon for Node.js.\n\n# Installation\n\nTo install this package, just run\n\n```bash\n$ npm install extract-file-icon\n```\n\n# Quick start\n\nThe following example shows how to get the currently focused window's title and hide it.\n\n```javascript\nconst fileIcon = require(\"extract-file-icon\");\n\nconst icon = fileIcon('path', 32); // Returns PNG buffer of 32x32 file icon at given path. \n```\n\n# Documentation\n\n## Default exported method `getFileIcon(path: string, size: number)`\n- `path` string\n- `size` number - by default its value is 64. On Windows it can be only 16, 32, 64 or 256.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fextract-file-icon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentialx%2Fextract-file-icon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fextract-file-icon/lists"}