gerhardberger / node-mac-file-icon

A native module that allows you to fetch system file icons in macOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node macOS Icon fetcher

Installation

Using Yarn

yarn add node-mac-file-icon

Using NPM

npm install node-mac-file-icon

Usage with Electron

Add to main process

import { getIcon } from 'node-mac-file-icon';

await getIcon('/Applications/Pages.app', './pages.png', 240)

License

The package is available as open source under the terms of the MIT License.

About

A native module that allows you to fetch system file icons in macOS

License:MIT License


Languages

Language:Objective-C 51.3%Language:Objective-C++ 32.5%Language:Python 10.0%Language:JavaScript 6.2%