/node-mac-file-icon

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

Primary LanguageObjective-CMIT LicenseMIT

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.