{"_id":"file-icon","_rev":"18-9b27271f0b8036339b82a235be88b8de","name":"file-icon","dist-tags":{"latest":"6.0.0"},"versions":{"1.0.0":{"name":"file-icon","version":"1.0.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"f4835e7dc7771871b4ec9300193b35c75b4b3f7a","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-1.0.0.tgz","integrity":"sha512-5srxXg75NyzRym3FVpmw6IwNt5JlrY0i9rJGkpI2VoWkCHfui3NuhtTeQxKjnPKV4jbhHF38b0TrTYmpL5OJig==","signatures":[{"sig":"MEUCIBczdyZ6S80cV1yWni4FmHK/5K6wo5wG0IT5hzHN/LnLAiEA2oEO7jZy0qp/jvvt9+jSCRccrmR3uSzpFZbWH0B3QN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","main"],"_shasum":"f4835e7dc7771871b4ec9300193b35c75b4b3f7a","engines":{"node":">=4"},"gitHead":"d95cc36b1afd62f9b3dd2044f202a28f08fe7d2b","scripts":{"test":"xo && ava","build":"swiftc main.swift -o main -target x86_64-apple-macosx10.11 -static-stdlib","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"2.15.11","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"4.7.3","dependencies":{"execa":"^0.6.0"},"devDependencies":{"xo":"*","ava":"*","file-type":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon-1.0.0.tgz_1488976386634_0.06703440961427987","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"file-icon","version":"2.0.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"d9bd532ae0805bc097fb51cf58779aea8aca7274","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-2.0.0.tgz","integrity":"sha512-SNQXA8yVZvB11u1TkhbJEwJfhGMqql6uWgvRquSX+B5EBHknA2X8W4DdT8aqEYi50prbaLIkVrYHJ5+eQ7TdJg==","signatures":[{"sig":"MEUCIE6pySIZ+fFFtetuO9k9LcvTCbG9V6kcsRbLhFSx/SEyAiEA12eBS1HJSMHj0SQIO2VkeFz+wUfDATCxBx1lC+E32Mc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"files":["index.js",".build/release/file-icon"],"engines":{"node":">=4"},"gitHead":"93641bb2f059549c502903a30991d9b6275fc696","scripts":{"test":"xo && ava","build":"swift build --configuration=release -Xswiftc -static-stdlib -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"5.4.1","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"8.4.0","dependencies":{"execa":"^0.8.0","filenamify":"^2.0.0"},"devDependencies":{"xo":"*","ava":"*","tempy":"^0.1.0","file-type":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon-2.0.0.tgz_1505280343704_0.5172927035018802","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"file-icon","version":"2.0.1","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"affb89730db6e33cb8e1f651418e6abfaf29afd5","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-2.0.1.tgz","integrity":"sha512-Ukbh7gnzANAI21d+yV+jwpYGQZS6lX2AMfUNn3i4gFPrvuoKUP7btuEffKO7tJEnY0kNlQ65z8Yla6CKjzQ40w==","signatures":[{"sig":"MEUCIQDMDs2V8nJ29WzxOxp8GZvlxoyDW2WsitCZR/Jh55gwzgIgD1XIIM/+H/7B6yR22EdRYunV5Jmqjg57ik6DmKkzTQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js","file-icon"],"_shasum":"affb89730db6e33cb8e1f651418e6abfaf29afd5","engines":{"node":">=4"},"gitHead":"2e8404a56a8bbd306bd264ac7453fcbc123bc2c7","scripts":{"test":"xo && ava","build":"swift build --configuration=release -Xswiftc -static-stdlib -Xswiftc -target -Xswiftc x86_64-apple-macosx10.11 && mv .build/release/file-icon .","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"2.15.11","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"4.8.3","dependencies":{"execa":"^0.8.0","filenamify":"^2.0.0"},"devDependencies":{"xo":"*","ava":"*","tempy":"^0.1.0","file-type":"^6.1.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon-2.0.1.tgz_1505282553714_0.37124254321679473","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"file-icon","version":"2.1.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@2.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"d526afe9f797ab06033c2ae899705b816da3e7ca","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-2.1.0.tgz","integrity":"sha512-UbSjuOy+JV3ZcQ7lCUJhTKufiYtoeoDHLjra+J9gPRUuwKvaSgpKuf4tv+5QFPDjXPl05DyHRATSCqoblIU1Jg==","signatures":[{"sig":"MEQCIDDyLCLXxb8cP5GVY/SEsukBQVnLlRApkC/3YihL5I+JAiAkoHbXv5EhTKGomFJpDtGC6EeXhZX8url3CEdmtZg2pg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"files":["index.js","file-icon"],"engines":{"node":">=4"},"gitHead":"a2ff3321d30f14ea118d4bc2fda0b6b9250748f5","scripts":{"test":"xo && ava","build":"swift build --configuration=release -Xswiftc -static-stdlib && mv .build/release/file-icon .","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"5.5.1","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"8.9.0","dependencies":{"execa":"^0.8.0"},"devDependencies":{"xo":"*","ava":"*","tempy":"^0.2.1","file-type":"^7.4.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon-2.1.0.tgz_1514588257470_0.5548704992979765","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"file-icon","version":"3.0.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@3.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"b459c919486ee0b65f627ef8377965480a042568","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-3.0.0.tgz","fileCount":5,"integrity":"sha512-OXfQL+7YSvuZJEN3MsgUB1AA6oSjFd0xqvNG2gvjqjOJXSpm21Nc6/y0u64zOivMzg84o2zB+hfsxXoY9Y/kxA==","signatures":[{"sig":"MEUCIQDvXo04vmJRYZoxzZ1c+AtulsIz77fG6t4m7qYgdr6B9gIgMJk9NTO3ilVT5xlI8ooX6deUJSs6hZwsXa/56PCHbL4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9362100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCn1yCRA9TVsSAnZWagAAiH0QAIE6HJV4vC1GjIZx2v25\nXrAhSY9IJyrZ8dao2gCyF1Rjv8yS0OWcCDycJn1TzaeEUGUMnIgMrCd7LzPQ\nETP9ltp4NKAac7957tCOCjEisyCxvBV80+f3PiI1EaAjvb/nhIyCVgso/CRa\nO4SMue6r63waPlGjJd5rgWQm7RYB/qyExGdzZcigytgvEuZYQwzx4l92s7BH\nyH/wLbGwu/0dyTZwQlG2Wk+ruxnD0hyJxBYdAPwJJ/C3JxIqbCgZHBVr71Tn\nsn/NDoHmr6qRzRp0LSAkIF4176IIE29X+x6GjthtB/PURLRLbFcxLj4RZEXV\nZ9Aomu/p/dIts7ey7N1sq8UG4PPWJuHtcdIfq0aOxeos1yqKFDOr5RlrwbCi\n3odDq1hnPmGSQ7IHcHhC1BZ+qI/5WbiFVsxKZdj4pjhAt4hpTYEpNfAwzwQi\na5g36RjTBgjYHpye4h0rti4HcJh85etdEt89VMpXDNZtTTEgw+aK5akCNGe+\nuzBZOLGwYnkc5ZsKAfPCUT0c75smylGH3JTcWrOWc2vAxzqoShx0PGBgco5M\nK505jmg6Q7UzLCaxar9UwtLJ4H+VLrhWiqVaSfMuwmBiNqlCKxwlSkgD6z9W\n/pB2CyIS83fOPOonUpgmo4WU1tRpZQ92K4MOIQ94Lk0W1DnDwuRsjqaUWTvp\nPjL2\r\n=cSvC\r\n-----END PGP SIGNATURE-----\r\n"},"files":["index.js","file-icon"],"engines":{"node":">=8"},"gitHead":"2cfec53f4ddb25c7c1cf24dcdd6854136669b003","scripts":{"test":"xo && ava","build":"swift build --configuration=release -Xswiftc -static-stdlib && mv .build/release/file-icon .","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"5.6.0","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"10.2.1","dependencies":{"execa":"^0.10.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"*","ava":"*","tempy":"^0.2.1","file-type":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_3.0.0_1527414129453_0.026438242818268565","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"file-icon","version":"3.1.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@3.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"f1639685d74b9ae621eeb809576e7a3d22c9fe8b","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-3.1.0.tgz","fileCount":5,"integrity":"sha512-1+EdWiwE4S7Wa/SCEcEC+StMcT/OEVdw0RbGmD5ZmlsUL9Kqf6SyXzSbhxa9p2isIfORtCh3/lEflGdbMNX8fA==","signatures":[{"sig":"MEQCIERM8VwZ6hnpKO2SSLYvS4mP4NnHWrmEfgT1Yy4AIw6WAiA6BisftTQw9sl49v96H7eBrMU4Kt7Mwmkuv7zd9sNFIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10055733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrIyMCRA9TVsSAnZWagAAnHkP/jGQMePXxmVJDFWGAHXQ\nqJMoZQaB8KYNJzBHOGSHAj1Kxbk1oGQ+Wrk4RoofYrdq2MaFLeZxzN5s20kk\nFTJoI/uwCV5YTfqTUr38ORVgE6A6e6IPSRejdmy5mzeYn2bv6W1zvcSd//6H\n9XkPBAmm/PvvJfkpjr1SKBsvPO3qMWuZz04uexT7lkwqMsJ4c2VphmfeC0fF\nn3WFAIEcTbhoxYQIj3jMQdB7J/QUA8HOW/Mo+tS2BO0NWVcxXNgQKptz4gYz\nzBG4EeEGGm3BZUygIzQ0RE7rb3N27JAWg1TsVTO5JtTIAOFQxzETxgjLTLm+\n7eH6vzCxTSAmy9tnG5unF+OL5wLn+uPmVemWqdEqPlcWttbuS9boJ8iLwiie\niMYAmR1Lvf8FJEVpsnuuoqC5XukTV+meRsYADfn43YwhCD4UvzCBneJRlhTP\nH+LGxLo6yvax/DjNx4kKqm8v++HR232ByhB/yo1ZJdrFQVizGs5T0FFZYfxq\nD+bT2RBr1UaJ7wltUetOaJChfoi2H4mnqwHlpWF/eEoj6HUVeYFyxIUbObmU\nleS64fJHk+LynNymUqgcKWZdsoXrpP9yy/d5XMghzpAXV69vf8EtoKXpOBMv\nXM0F/NBz8jpx7VSRsROU7gYRcJVicVQITi503pZ4AfJesNd7ZY3GkBTn5cSq\nnOGX\r\n=mwb6\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=8"},"gitHead":"d394d7eca5dac39f54bae3902030bee007766bd2","scripts":{"test":"xo && ava","build":"swift build --configuration=release -Xswiftc -static-stdlib && mv .build/release/file-icon .","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"6.4.1","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"devDependencies":{"xo":"^0.23.0","ava":"^0.25.0","execa":"^1.0.0","tempy":"^0.2.1","file-type":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_3.1.0_1538034827258_0.6311785795034981","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"file-icon","version":"4.0.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@4.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"40e2efd0ca88002f180c0ebfa587bba64adfd673","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-4.0.0.tgz","fileCount":5,"integrity":"sha512-e3L0RlV1Wq2EiJg5d3vHUJdGY5mMhmxqOKSzUfktsLtBCKFcXH5PzpJ5wMgwgW2D2DbKzOg8i2ptFJjAOlA4Pw==","signatures":[{"sig":"MEUCIQDOoHtWofda6cVZKXche++FThQjahZtLONdY8njeZd+WgIgMRzbVP3YgNBWaqvX0sO740PmA7zh/0t2ZQdlnMHX+yQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":145040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesjQjCRA9TVsSAnZWagAA56EP/jx85OXCGtJS2TAgbp6Y\ntfQv2AKk0FZmFNceiOPQanYWS77ChbaJwpDNr/HP7IJEV5ik3if5wrHbF+FB\nEz64bcA4MnOkzxzck5Zst7UuHJQQeZF2bEP8/Qya/WSn1XHwcLMDFu00v/BL\nlGMTUD9sOPn027YcwXxqZhxiLUyaEPjCLK73LMfRFSBidGYYUeomJUYOJqUJ\n18tDHuHK+QHc0vJOK0jMktqxwpBcb1fTke3xy8x1yjWgfVCPOn4fV2wqquk+\nEg6LXQ9cC8J707YEz5iFQCRKswgINu52S0HJud734Yukbvpz0le6GLKX2iJ7\nWN0kro/LmiqKv67FSK8PdM7+RG0YsXpSRGMSdqUvZersLmg6rj5BfpcQ3Jqp\nKbt8R3ftrb+IJQoCerCZ02ZvgyQegh4NdJEByyCdQkjFfTQHWiRZV2HxCXSQ\n3tE26w7zuAW6P+bXZnieWa5PcYx75mBFOlJeACeG05DzLJrKS8pjHPteWLnU\nwTWB47BT7NMIgV7rvtqnDMND1CUakrxRhQkBDw9mNIhRfiwQAAp5GzpZhg3T\nEDojI9nkq0xSfJgSvXTKHDVfOjnDwMVgZQiAtKWXLDGQmOQwDu4Vk4U/TMJY\nqnnUn5j58rX40LVYo3n5ZM+jE15PyaTrqNtEC3XB6Doy3C7L675uw5JW9SXY\nvH1A\r\n=5KTI\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=10"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"bfe1b32b7341d881866aa6c57693dce6783dd70d","scripts":{"test":"xo && ava","build":"swift build --configuration=release && mv .build/release/file-icon .","prepublish":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"6.14.4","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"10.20.1","dependencies":{"p-map":"^4.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.30.0","ava":"^2.4.0","execa":"^4.0.0","tempy":"^0.5.0","file-type":"^14.3.0"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_4.0.0_1588737059049_0.2591143729492449","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"file-icon","version":"5.0.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@5.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"c6102947870e212494502b5ca53c4dae45c5d6d4","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-5.0.0.tgz","fileCount":5,"integrity":"sha512-ShabZwQdjxsvZFKrnsGveMmCpZo3z4PUURhfV+OmFYHxCw7R/iNv5n+tLBreEIIIj/llGQ0tOcxd4C9a1M+k0A==","signatures":[{"sig":"MEUCIFfGJR8wXdlcu3RwRvdwsqjFme9J+mbIK8nfbI28mFRsAiEAw574XFhA06BmwgJxGMEa2ljqguWF+j+bkd1pwUxU8yo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166428,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKN33CRA9TVsSAnZWagAAt0oP/25x6uDNDqf5F3CYBrk2\nXOPxaGAC48AbmUUAoWcNf9ftm3sb3c4HevfFauRJPGhRo7na6uw90tPvefgM\nllMwsnM6dFgj+ZhQw3c8az2YwMprZ3JTf0MqABIh0SWsdAlTdgc0Mz04uq2J\nocMI25DzwcvRV+tahH8NN2SHS7C/KUpyFFun8SzHBJtJKlQOvtJ9jBCSQ0Gm\njqGWPuQJvbIH8lEhIKE3ufi4SwL7E3SJeZD58Yzd2CniV48X8A95E8ByH3Kd\npzwGVp1LCZbUvhIczzWquJw43+V+5xnzKgbmwnj4aZGLUMGTx0xNnYPzPwuR\nF2GtL2tB5BKq2BTwOzAx/wNyawc714i8eZoVg3KnClWB7JLEL4l4/Eo6Gmyd\nequvr5VUUXbtQYOnAigpF7yPqEPYqBtwPOAi3b0YqJ5714SFQ/EGQCsYWynT\nKKFVP9R/zINnooiKf8V2vk5VAPTNnqpbK0pD5d/vcai0cp6BMIt9ujFU8dmX\niT9mgHU7zDoSBD+vtk6EAHdsgntHmervOJD295wWPp/CVdNC+HFVu2PbTxcE\nf4ynztG8EWwvxs7dwdB9SsHT2+pc316dmHzpw7O67vomvUJURhBobLNdUcxT\nzqetZ+Oq1iZ99MvFPP20tCVvt4unEDkWOAFZUi2Il6nNQ4OXw/v3VHj5SDoV\n/eQy\r\n=j6qb\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"e4557a089e267ef9a653d2c3ecc7a3648a351923","scripts":{"test":"xo && ava","build":"swift build --configuration=release && mv .build/release/file-icon .","prepare":"npm run build"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"7.20.3","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"14.17.5","dependencies":{"p-map":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.44.0","ava":"^3.15.0","execa":"^5.1.1","tempy":"^2.0.0","file-type":"^16.5.3"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_5.0.0_1630068215602_0.7118480084875471","host":"s3://npm-registry-packages"}},"5.1.0":{"name":"file-icon","version":"5.1.0","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@5.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"ef25ef200c11d19eecd72b4e605a1f7f384f9970","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-5.1.0.tgz","fileCount":5,"integrity":"sha512-Yhx00f5jz/y70Ep5Yvd+KcRLaBLNYSqQADEOqM95sKvYlNQRN0nYST3bMja8+cFTJolCH7OlSyp+C1M3Hnzhng==","signatures":[{"sig":"MEYCIQCjOtW/HcviE5MtZHLuQvYKYwiwSmoezvxT0ElYz64mygIhAKUJq1D5wWuJzKf8e4WB74EhIqHMhS3Vm7VfJ+nlkyEE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":322075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh272ZCRA9TVsSAnZWagAAN7QP/2aNHrToe1X/eqHaFxub\n7Q/awkxglZwAjTRZK4OnPEill/XBpmhWeOJVDT2lahsyAZxeisuB73HWjr59\nWdozKYDukRdFP87TMJhl7AHklActaUQNCsY3zEhGMs+IKg1S26MXyx7E6qNi\nDIZtj4EzF0uWaudG3hldjVxBR4BqW8rPWlFnSDrecMuK1Uo7vUiuZtvJ9wwr\nKFwAAoxLFucizZH+Bdy0rBmb2FfMVG0wOmHdpDi+65VI5+xZ0E5XZXvuZbCB\nWnj2D0a0jtjKrzVxsdX8g29p1FhaJWZEC7zNJUdiByaDfMWIXRhYu7ywMf/F\n9ffSQWvAOipJnFnOPzQm+GDygPH44wg9kitBASYyvh3T1DmAYn7bUQ1T/+O9\nFGMV79G4nuLoFWlPW5qABFKIIsM3Mn0gpfD/zuMpwm421w7HxJzbbVrDe1f2\nGSo/qD47WB8vbI1LWIqvKwz2C354ZW+4UdMHxEFqLNd/ZTzhY+kpx7AnRL4f\nHvqSMxfYZtaMkwNY0272ZqsXY4uyo4LJP3AeUCSPN9VkRLwns4WL5nLkrTRR\nn7EXhrR+7jxFFKgGOgVNKwosTlebinO/RstQyeNqz+T8IWiJCTxv/Bhvjho9\nHos0vaLKwXXyXYl4FYFc/2XPdPvQ/sInExXHY1q+asF1QgGO1tYLtwbxBFhw\nisE4\r\n=isBR\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"c4a1f7d3fb450694bb5eb4a9535e76a6696168c9","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"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"8.1.0","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"14.17.5","dependencies":{"p-map":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.47.0","ava":"^4.0.1","execa":"^6.0.0","tempy":"^2.0.0","file-type":"^17.1.1"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_5.1.0_1641790872888_0.14724680706732673","host":"s3://npm-registry-packages"}},"5.1.1":{"name":"file-icon","version":"5.1.1","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"file-icon@5.1.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/file-icon#readme","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"dist":{"shasum":"d9fd1f834fc1fae8db954ad138c23e48b143c087","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-5.1.1.tgz","fileCount":5,"integrity":"sha512-rEhTPCpqPjESUIgwR1qNCWmvY0ie6cQjEvWUyXACxiYcshaPumURlr9ZpWFBTqdonGlUMJHu95l6bQKs1eL40w==","signatures":[{"sig":"MEUCIQCqKajasjCDcjo0OKRRkXE44JBFKdqgLjypyWc8YDUFugIgdUPgZPLQJdJIb+fwKo9rMz+AA5iqM/8g0s3nGnfWmjI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":303771,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkyeTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpW5hAApFucZiJyTB2y2vEBAfHD9t53EdvE0x6C8hMnfbuS7u/o7px7\r\nHiJ+ZXRjxCr9cPPs8Q5Qk6MrQG6nCdWrL3wd/HKW9bJezrVv2Qh0SewDrRZM\r\nJG4EfPEDwzDs6pXFcirBJTqiQtE+kUv6JOIrLq8eAo4mJXTOrHsUC1bxqTkB\r\nSt6zeSIpxcYNGuk+bUXDCjKFdjN5fgOd2yVw4cWK8+5kaH5ya2J/qJrFIl3I\r\nyYwZAzeQd1BYaTnqwbrovkbQAMBrS7exETEZRITnjOcihv4p8RFNZ68/V7ky\r\nywvahrF75gepuIfiCkxh2LxoKd40LpVt/8r1rn4inRYpF44Nrjisdfv+SPl6\r\nZkf0Y0BMv/0+wbo8EY9xKCp0N43GldWucqvdrxllSvLpUSaZLGHKoE2brZvI\r\nHSt86A39iz+xiGWGbHb31a1HMXxXGSKxOx30qeR9IbNo9YU6uVyMgxUzZqWR\r\nzyhjlltNPlW26s9b+cizS+8Ne+9FQuZrJZl0qIPPYbYAl0P+xqbDE2pKcg35\r\niys2eQFGrHyPycrnpquL0L96LpjoXvGudx4NJvWdUIbNyA9yaJAKPmbu1Bhk\r\nHIv11dLWdMycIXGfpW/fSLXFjNJ2a7vnsk6XL5SKVilJEv3Cj0Wh8/il6iqY\r\nM+E8u1+hftqw7dacDCg+IK9pvng26YSUqhc=\r\n=1ucE\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"f7ed6bcd3a6c77a2a426c44ba77763781251f3c1","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"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/file-icon.git","type":"git"},"_npmVersion":"8.19.2","description":"Get the icon of a file or app as a PNG image (macOS)","directories":{},"_nodeVersion":"14.21.1","dependencies":{"p-map":"^5.3.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.47.0","ava":"^4.0.1","execa":"^6.0.0","tempy":"^2.0.0","file-type":"^17.1.1"},"_npmOperationalInternal":{"tmp":"tmp/file-icon_5.1.1_1670588307055_0.4933548677462509","host":"s3://npm-registry-packages"}},"6.0.0":{"name":"file-icon","version":"6.0.0","description":"Get the icon of a file or app as a PNG image (macOS)","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/file-icon.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd","build":"swift build --configuration=release --arch arm64 --arch x86_64 && mv .build/apple/Products/Release/file-icon .","prepare":"npm run build"},"keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"dependencies":{"p-map":"^7.0.3"},"devDependencies":{"ava":"^6.4.1","execa":"^9.6.0","file-type":"^21.0.0","tempy":"^3.1.0","tsd":"^0.33.0","xo":"^1.2.2"},"_id":"file-icon@6.0.0","gitHead":"daeff9a0fec556c6d85df9af8f29706cb1b5c7c7","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"homepage":"https://github.com/sindresorhus/file-icon#readme","_nodeVersion":"20.19.5","_npmVersion":"10.9.2","dist":{"integrity":"sha512-cNWEJlqKoqcCt8v9ybKL1k69oHqbmEdNSHKUI2o/RmrCiBnG+yJXThfIeljiqfEs/PW1HeazJj2/SJABhtaawQ==","shasum":"a06d83957d58f2e2002931fa1e68967318d15a4e","tarball":"https://registry.npmjs.org/file-icon/-/file-icon-6.0.0.tgz","fileCount":6,"unpackedSize":290661,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHCjWWI0+5YP13ypTDhiDwvyStMHhO4cHdDFGbtavaYIAiBrthjwAvcKdGUfYZGnzNCDbeez986sbjWg5TzIiRlCcQ=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file-icon_6.0.0_1758095643757_0.4480763193321502"},"_hasShrinkwrap":false}},"time":{"created":"2017-03-08T12:33:06.918Z","modified":"2025-09-17T07:54:04.123Z","1.0.0":"2017-03-08T12:33:06.918Z","2.0.0":"2017-09-13T05:25:43.792Z","2.0.1":"2017-09-13T06:02:34.173Z","2.1.0":"2017-12-29T22:57:39.449Z","3.0.0":"2018-05-27T09:42:09.685Z","3.1.0":"2018-09-27T07:53:47.503Z","4.0.0":"2020-05-06T03:50:59.226Z","5.0.0":"2021-08-27T12:43:35.760Z","5.1.0":"2022-01-10T05:01:13.053Z","5.1.1":"2022-12-09T12:18:27.230Z","6.0.0":"2025-09-17T07:54:03.934Z"},"bugs":{"url":"https://github.com/sindresorhus/file-icon/issues"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"license":"MIT","homepage":"https://github.com/sindresorhus/file-icon#readme","keywords":["macos","file","icon","app","png","application","icons","path","filepath","bundle","id","image","size","swift","pid","process","id"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/file-icon.git"},"description":"Get the icon of a file or app as a PNG image (macOS)","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# file-icon\n\n> Get the icon of a file or app as a PNG image\n\nRequires macOS 10.10 or later. macOS 10.13 or earlier needs to download the [Swift runtime support libraries](https://support.apple.com/kb/DL1998).\n\n## Install\n\n```sh\nnpm install file-icon\n```\n\n## Usage\n\n```js\nimport fs from 'node:fs';\nimport {fileIconToBuffer, fileIconToFile} from 'file-icon';\n\n// An app name can be used\nconst buffer = await fileIconToBuffer('Safari');\nfs.writeFileSync('safari-icon.png', buffer);\n\n// An array of app names\nconst apps = ['Finder', 'Safari'];\nconst buffers = await fileIconToBuffer(apps);\nbuffers.map((buffer, index) => fs.writeFileSync(`${apps[index]}-icon.png`, buffer));\n\n// Or a bundle ID\nconst buffer2 = await fileIconToBuffer('com.apple.Safari', {size: 64});\nfs.writeFileSync('safari-icon.png', buffer2);\n\n// Or an array of bundle IDs\nconst bundleIds = ['com.apple.Finder', 'com.apple.Safari'];\nconst buffers2 = await fileIconToBuffer(bundleIds);\nbuffers2.map((buffer, index) => fs.writeFileSync(`${bundleIds[index]}-icon.png`, buffer));\n\n// Or a process ID\nconst buffer3 = await fileIconToBuffer(257);\nfs.writeFileSync('pid.png', buffer3);\n\n// Or an array of process IDs\nconst pids = [257, 16];\nconst buffers3 = await fileIconToBuffer(pids, {size: 128});\nbuffers3.map((buffer, index) => fs.writeFileSync(`${pids[index]}-icon.png`, buffer));\n\n// Or a path to an app / file\nconst buffer4 = await fileIconToBuffer('/Applications/Safari.app');\nfs.writeFileSync('safari-icon.png', buffer4);\n\n// Or an array of file paths\nconst paths = ['/Applications/Safari.app', '/Applications/Calculator.app'];\nconst buffers4 = await fileIconToBuffer(paths);\nbuffers4.map((buffer, index) => fs.writeFileSync(`app-${index}-icon.png`, buffer));\n\n// Or a mix of all of them!\nconst mixedBuffers = await fileIconToBuffer(['Finder', 257, 'com.apple.Calculator', '/Applications/Safari.app']);\n\n// You can also use `fileIconToFile` and provide `options.destination` with the path to write to\nawait fileIconToFile('Safari', {destination: 'safari-icon.png'});\n\n// You can also use same length arrays for `input` and `options.destination`\nawait fileIconToFile(['Safari', 'Finder'], {destination: ['safari-icon.png', 'finder-icon.png']});\n\nconsole.log('Done');\n```\n\n## API\n\n### fileIconToBuffer(input, options?)\n\nReturns a `Promise<Buffer>` for a PNG image if `input` is of type `string` or `number`.\n\nReturns a `Promise<Buffer[]>` for multiple PNG images if `input` is of type `Array<string | number>`.\n\n### input\n\nType: `string | number | Array<string | number>`\n\nEither:\n- App name *(string)*\n- App bundle identifier *(string)*\n- App process ID *(number)*\n- Path to an app *(string)*\n- Path to a file *(string)*\n\n### options\n\nType: `object`\n\n#### size\n\nType: `number`\\\nDefault: `1024`\\\nMaximum: `1024`\n\nSize of the returned icon.\n\n### fileIconToFile(input, options)\n\nReturns a `Promise` that resolves when the files are written to `options.destination`.\n\n### input\n\nType: `string | number | Array<string | number>`\n\n### options\n\nType: `object`\n\n#### size\n\nType: `number`\\\nDefault: `1024`\\\nMaximum: `1024`\n\nSize of the returned icon.\n\n#### destination\n\n*Required*\\\nType: `string | string[]`\n\nOutput file for the icon. If `input` is a single value, `options.destination` *must* be of type `string`.  If `input` is an `Array`, `options.destination` *must* be of type `string[]` with the same `length` as `input`.\n\n## Related\n\n- [file-icon-cli](https://github.com/sindresorhus/file-icon-cli) - CLI for this module\n- [app-path](https://github.com/sindresorhus/app-path) - Get the path to an app\n","readmeFilename":"readme.md","users":{"rocket0191":true,"flumpus-dev":true}}