UNPKG

file-icon

Version:

Get the icon of a file or app as a PNG image (macOS)

57 lines (56 loc) 1.07 kB
{ "name": "file-icon", "version": "5.1.1", "description": "Get the icon of a file or app as a PNG image (macOS)", "license": "MIT", "repository": "sindresorhus/file-icon", "funding": "https://github.com/sponsors/sindresorhus", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "https://sindresorhus.com" }, "type": "module", "exports": "./index.js", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "scripts": { "test": "xo && ava", "build": "swift build --configuration=release --arch arm64 --arch x86_64 && mv .build/apple/Products/Release/file-icon .", "prepare": "npm run build" }, "files": [ "index.js", "file-icon" ], "keywords": [ "macos", "file", "icon", "app", "png", "application", "icons", "path", "filepath", "bundle", "id", "image", "size", "swift", "pid", "process", "id" ], "dependencies": { "p-map": "^5.3.0" }, "devDependencies": { "ava": "^4.0.1", "execa": "^6.0.0", "file-type": "^17.1.1", "tempy": "^2.0.0", "xo": "^0.47.0" } }