{"_id":"@aslamhus/fileicon","_rev":"6-3d7202951a99c7b3e483c9ec8cb6a744","name":"@aslamhus/fileicon","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.1":{"name":"@aslamhus/fileicon","version":"1.0.1","description":"Create a file icon image with any file extension","main":"./dist/FileIcon.js","scripts":{"prebuild":"npx babel src/FileIcon.js --out-file dist/FileIcon.mjs","build":"npx babel src/FileIcon.js --out-file dist/FileIcon.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-commonjs","postbuild":"npx babel src/FileIcon.js --out-file lib/FileIcon-lib.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-umd","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.7","canvas":"^2.8.0","chai":"^4.3.4","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jsdom":"^16.6.0","mocha":"^9.0.2"},"gitHead":"6d055d5bff82b7d752c1cd571351c164c8cb86c5","_id":"@aslamhus/fileicon@1.0.1","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-vh3vyG2vNHAY6BXVx1Nbq3BFCps0BHGkKlXqN0NmOD3lRKVUOjOWfl/27isi/B1tnxsZf3KrWHADpTK3zYcDNw==","shasum":"db83587bff605f6b88fa01e648ccd7b17b625333","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-1.0.1.tgz","fileCount":29,"unpackedSize":111716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+XFdCRA9TVsSAnZWagAAQZQP/ihvABGvXYxmubrZHEhK\nMiXtfO/u67IwXkIJGaT6ENE7OZ3u6qmodWDCNoR8PJHsm+POLz894p74UM2P\nY/MZxUKrMdrQni0ZmRzO+/ak5xrV5+y82pmR8Pnns8l+v1Dx53dB8qMGjJSb\nw2mirEwtIQR9HzlbFo7rardEv2+DdYzHM/06pAd3ww4v7K2uyEnRdzyEJVcB\n+0uoGLbtZZ3+7Frrf6xSTNJOUESTZzBPCZYmBlH6vLytXOy47r0E010+zGVs\nmUXOziHwcNxG3EJiVm0XyTTdLRveXQZGmUCjh363AxAmNnYStNRmd/OPdDFx\najYODzbYJnOG/NAgdSq0/otRhdPZPa3tKbebjdeaSTftmkerAmf4iG7chSpR\nU5YUITb/TKeJyYQQ3VEc1X9OQQg9tOFR6+93aQc+UaJ6F8ZaDENmqW3xXics\ndRU0yIxuGmZDiMpT7PK6fEFbJX5Q6Y1GOi2NUjcvUpPM0XCZIc1wSSWa9HHg\niN98EqcEJA5IFkZ57zwZRI+HgYWu3Q6henaiLhjdPwtnt5+2nBU/gPNcVuOt\neLi0tShI2GqJ+3gUqIji5OfvdZ1T7Q4ROwdCR7LdMrZKmXsRzWhiTeMfMTuC\nrqxeE+w+kXryV6orADKpXAgBK88HF/3CmujCDEKfUS1ympSt/cS0RApD0cM4\nK3dt\r\n=5PTl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAD0P4QurTKx6RIQY8y+r4U9rpXndDrTr1kqa09JvhrFAiBAVMc2EemH8VD9AyUTfOc01PE9vZ0sWqRNzM+xo2RLaQ=="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_1.0.1_1626960221020_0.6393835112155866"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aslamhus/fileicon","version":"1.0.2","description":"Create a file icon image with any file extension","main":"./dist/FileIcon.js","scripts":{"prebuild":"npx babel src/FileIcon.js --out-file dist/FileIcon.mjs","build":"npx babel src/FileIcon.js --out-file dist/FileIcon.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-commonjs","postbuild":"npx babel src/FileIcon.js --out-file lib/FileIcon-lib.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-umd","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.7","canvas":"^2.8.0","chai":"^4.3.4","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jsdom":"^16.6.0","mocha":"^9.0.2"},"gitHead":"c3bb4c7862274bf96f7e02d7155b093005564d0c","_id":"@aslamhus/fileicon@1.0.2","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-N2oNiCKMB/64eMv7GLsFSeULFxjtUqks04pBYe8semQ0ooEffs7/Qr9vkbW53To0k6zjVD4YO3qfOPjI2hjoTw==","shasum":"c309a32d26e83f432d52c0224f55c88afda43694","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-1.0.2.tgz","fileCount":29,"unpackedSize":111841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+XJiCRA9TVsSAnZWagAA3AUP/j2CR0MRcPXT+n7YTbpO\nZqaZBgCvA7veDNq62vTF/dDOFzJkmPaYAhRAHZRZRxhJvmly0NbEzzmYRtnk\nWSLtNdBlp+GrqzZtOFAtP4DRELF95nY45o/r3l8r6MB/rPBZjkqXB2VvpaQc\nbVjjDHhyJQiQR+NvKqzolXySqHpncZn/UcdX3gv/EiRhS9baiMtoG6ZNUxma\nwKYKW0xkYEuayoKo+8OyT84vXEDQgE1PtSYSw8Z4NeGV4O4x8j/u+ifep26h\nmfGRQweynOjcmok5uq670f2mr0jt9gVE3auE6zrfWIUOD30UWvlvY53m5C8p\nrwpOxMbv+OGp6TknzyDr9+CT4+p47/1Fi93XBFE7oqewclHgHN4ptMRXgh3T\n+ga76ASzMWVxTPPW1o2VaV55Ry4/y0+2T43rhb+IMjRww0NRtSTSb2TihqNF\nBhaV6PyRKzlj0R2efk9/4e3ABvWOTW/GaRhEXTZsxcdFK8XlmgQk1+MlG5Jt\nDR2BW7gBXzjeEb3WiDTOBHsYo+5yKus1dh0hGKx3pb/H3AnhpFrAiYk5mUee\n+l010415sXuSseY3mKZXetW+YJz6IauIVP70k+X2jnlksvWmh+GmxDMpOsPr\nPYCzdBTBEBxtFnKPI9k5ASIKhq96P6cuJu1ZxojuDpKGtlxzZjwQ7CO5kw3c\n5tjK\r\n=CA++\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcfkM+ds7VGeBdZZuHravIDKAb+uAcfW/OnBvpaVejtQIgH21IFNJyy+gazzgJABbF1qwVhDWv2itwqumPAHil2zc="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_1.0.2_1626960482791_0.14890422569559525"},"_hasShrinkwrap":false},"1.0.3":{"name":"@aslamhus/fileicon","version":"1.0.3","description":"Create a file icon image with any file extension","main":"./dist/FileIcon.js","scripts":{"prebuild":"npx babel src/FileIcon.js --out-file dist/FileIcon.mjs","build":"npx babel src/FileIcon.js --out-file dist/FileIcon.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-commonjs","postbuild":"npx babel src/FileIcon.js --out-file lib/FileIcon-lib.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-umd","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.7","canvas":"^2.8.0","chai":"^4.3.4","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jsdom":"^16.6.0","mocha":"^9.0.2"},"gitHead":"c58250975ed5269994785da313e3164df2271f8e","_id":"@aslamhus/fileicon@1.0.3","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-U6orxgzMTP4uQ2v2VmderQR/OCgt0ARVwuRhXayfAzwJa7myMJRzOCW33m0WMXwqRnx5p9GQZdOLAa8kca2Z2w==","shasum":"ca56983d3cf0afa816ffcfc59baad968a29fe3e7","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-1.0.3.tgz","fileCount":29,"unpackedSize":113191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+XZpCRA9TVsSAnZWagAAJlAP/0mi0ktYK2Ku+mDHuLOk\npie6h8bSXx/8/ZlhHyNr9EWmkrWcFHW8j9wVv+/gKS7x1l2+GyWGjoVFnjJK\nIlniBh3Hbbdyg7G6xDyQM/9YqEWHG48+22+deBY47zoHnpF/DkDJV0/SI4Bk\nozZTBwIVskmbuXvHR0trYZedHCT2pcdGGJSN5ssstLGopH2/2rgzXbW9bf2D\nCFVoXk3jqmpV+Yx29RO3i5GEge2N4WUPAJEHz62kjjRtd9iAU6Xj/xOMKfA5\ncXhtrz94sDrooePdEBv9tyrZ95Lv9oizn2GkBMf6AVtv5DIFUD4HPKg7vGHC\nbXwy1rYH+UGy7Q0PI4lRVWaymvmbpUMaf+RtIkI/z5LbSRuXvfRDDkhGkDnM\nvm6pRjharqA1PjyOhzRIihB2+BVYn3SuWxDtKO1QH3anaTQnwblyrI1sZz7V\nbrt2TYa2TU1p3abtxgC4Fkr6U2iGD0KOMCipJkwuvwGfBB5NYIWaotjU7PmI\nlyZ0wx8Yv1nyU31BM2/fSS6rP9cX+P/smiDqrIJ2ow7TObZKum9LKOyb6kld\nw5wXnkxCDKlSEbkFynH6JNE341obmFSjHG03phu2dDrFJfZ7PnTIxChh9I81\njew5PqItkb2DfxKCSOT9Z1y61Pty7+IojdB1XfnFntKP5Xu7xLA+xV+2Ftkd\ntCIq\r\n=9UH/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHjgLXgcJ9aNaboqsPlXmY4Z2jVZgw48qmLyiBwBW1ZrAiEAxK//0ZWiLVhAfNnkAo6brHUHeVCvUZ4cPC6BCthoXkw="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_1.0.3_1626961513169_0.5630676859281971"},"_hasShrinkwrap":false},"1.0.4":{"name":"@aslamhus/fileicon","version":"1.0.4","description":"Create a file icon image with any file extension","main":"./dist/FileIcon.js","scripts":{"prebuild":"npx babel src/FileIcon.js --out-file dist/FileIcon.mjs","build":"npx babel src/FileIcon.js --out-file dist/FileIcon.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-commonjs","postbuild":"npx babel src/FileIcon.js --out-file lib/FileIcon-lib.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-umd","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.7","canvas":"^2.8.0","chai":"^4.3.4","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jsdom":"^16.6.0","mocha":"^9.0.2"},"gitHead":"8980edd304d4e8d66199ceb615bb4a7943fc863e","_id":"@aslamhus/fileicon@1.0.4","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-Kvp6R6nrq2vZ/0G4jNdVyzHFelbPOdDQbeHUJKWKY21pr6MKK0p9/0PWImLTbvwRGpCP8zVJAfG1tJ2vkXKbtw==","shasum":"71a2a38b53f8b3c1727db22b8cdb84d42aca508f","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-1.0.4.tgz","fileCount":28,"unpackedSize":108342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+YIlCRA9TVsSAnZWagAA7kYP/0r0Vft+cNJZ7tzCHscf\nUgho/Q6QuXKTRQpGZpNBmOFTtUQs7pipgajz595QOmwXd+NQ4+eXbzYSKwH8\n86YwGXgPp0WBgZd1Qwdv5nerLOECh7esuKX5LvirAmXV/9HEC95qF5wQMyxg\njpg+4fabvBMEWpzRKW18d1VwUJiE8F6gb5PpDZiALvn4JfL6lypaOeYquQ4X\nbrlu1BCvH09or/V43PlTBVzRRRUP/lEW8FFVNDy1h4LTe0OP2d4eKNkPsud6\nwtGIIa69aC5Tmb85hy6lAOC1OojGjiCUt06pOibyQeUk5mWlxlgmSwxb6+1Z\nn/nx9oM3ajqDc7u39J6bt2eIhZqIhCeTlUUgXTC8hwJENXlVv7MN88fbUEDJ\nuWmwPl3zkTc0eVspbsyYHIuBlgKxtJu+ezIXmnJ+51qY8w4NkLD18cpE9YXX\nkYl+6fAVsxR6IAymGuH/tfhYF4xXUM3sj67oRQVSeuoI1v3latY0+T3DF0hI\nZFuDPacgWGoImt3EltZ+Facvb9GqeLFzmlJl6Gl69vXOIFDVkzJq6bPRqOJG\ntkNlUC8qvXGMnBndfHcwOxhGLuw9DkTnlqyD5qO2fND5LrkRzZQKDDwZhEiR\nEmksNS8BhZ1mvLGVTFrfNA3/rF5Pj7IVrgWbaPzDbC4JtN4VEnpvgXS3RKzw\nA5LI\r\n=crie\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOkxc4AS5YZxHD89DNB1tjbKHZeEoD4mpgEDSSQVv01AiEAoX9i8r+HqEarMFMVaGzRIbzr+tbXYIMqDz8UZzZ4iVQ="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_1.0.4_1626964517240_0.7401175794999972"},"_hasShrinkwrap":false},"1.0.5":{"name":"@aslamhus/fileicon","version":"1.0.5","description":"Create a file icon image with any file extension","main":"./dist/FileIcon.js","keywords":["file-icon","icon"],"scripts":{"prebuild":"npx babel src/FileIcon.js --out-file dist/FileIcon.mjs","build":"npx babel src/FileIcon.js --out-file dist/FileIcon.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-commonjs","postbuild":"npx babel src/FileIcon.js --out-file lib/FileIcon-lib.js --presets @babel/preset-env --plugins @babel/plugin-transform-modules-umd","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.7","canvas":"^2.8.0","chai":"^4.3.4","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","jsdom":"^16.6.0","mocha":"^9.0.2"},"gitHead":"4e9db0136af3d78384819fc330ad60fbf76be32e","_id":"@aslamhus/fileicon@1.0.5","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-U8HLoi2YG+wwyS9IUKnE1oLmuq/cSWfqiddOeh3lmsf8zIUaqhMH89/eV8XKcg80JWvqnjHTao6n4bRueBf80A==","shasum":"6b4222b22d7fbee070bb7ba5126e3772955fe1e4","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-1.0.5.tgz","fileCount":29,"unpackedSize":112995,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+YS3CRA9TVsSAnZWagAAjFAP/RlZdEwbfKxWaMPVR5UD\noJ6m0p6UhqSpn/sHYDsejbhbySECMNMPjU7OXyKvUoMpG5YhgGxVAi/m72UR\nutsMucSKTLIApNtZBHHv1jlfpChuiN17Zz2speX6TDrYUViec89H6oOPrEBD\ni9NZ0L9hru34FftmTWfWk3yc345zO0pI5k9CZ/2RV+s5su6+8OUZfahvzk6Q\nH0cg8+g/vT1T7EERuL+q8K4ZGCDZ2JBNzpKcDG3qWSZRhTqfXyzZh8IehMui\nuZWbTXEOHK93tkNDo1Tbvl+aJZBONkEa0Ox2lDrECnh2Ms/UrvljV58NXQFM\nXMkhYHqhMb6nHrJxId9JngDqudZveqTlhwcXqgpyOeGS/oJXeK2prIaSCvaG\nXcjvNKKuBX0C+/2ZdYhCs4eNQSgWQhtPZ91kFKXsbOYAp6KADRyCfCTnX3lq\n5W4wY/53Xh6IuhYyO9fJlscRGq5IxM1KsiciQ2mfY8NWVSYlffmfM75APVGZ\n0Dm5F2lGekhxiOzMovavQR7+KoOLagY8niGTRaMjRtJM9W6H4ErQOQ9RGoaC\nXyMzW4FnbhmpLXVrzrL6WtZm6ohNNFiC/6VffSG0drDh8pW2PIaFjRWlZZJC\nr1utaOxrHxJKjCuoFydoxl2+3EMCYpVQd5Oi7CQkYOjSOwtmPupE9KnZkGpR\nMCdR\r\n=muXE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpT2ctscmrjAA7sA1/JPa1sdC/NTzLZKDuQwGCbw5w3AIgYD02JkfsLOVpfwfU48csqwNQeKaFz1lQ6+03NqskwYo="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_1.0.5_1626965175268_0.01869200368597923"},"_hasShrinkwrap":false},"2.0.0":{"name":"@aslamhus/fileicon","version":"2.0.0","description":"Create a file icon image with any file extension","main":"./build/FileIcon.cjs","keywords":["file-icon","icon"],"scripts":{"build":"bin/build.sh","test":"mocha"},"author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6","@babel/plugin-external-helpers":"^7.14.5","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-transform-modules-commonjs":"^7.14.5","@babel/plugin-transform-modules-umd":"^7.14.5","@babel/preset-env":"^7.14.8","babel-loader":"^8.2.2","canvas":"^2.8.0","chai":"^4.3.4","css-loader":"^6.2.0","eslint-config-airbnb":"^18.2.1","eslint-config-airbnb-base":"^14.2.1","eslint-config-node":"^4.1.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","file-loader":"^6.2.0","html-loader":"^2.1.2","html-webpack-plugin":"^5.3.2","jsdom":"^16.6.0","mocha":"^9.0.2","style-loader":"^3.2.1","terser-webpack-plugin":"^5.1.4","url-loader":"^4.1.1","webpack":"^5.46.0","webpack-cli":"^4.7.2","webpack-dev-server":"^3.11.2","webpack-merge":"^5.8.0"},"gitHead":"3aaa97ac1bc24e7bde0935081ba1e2e8fa6da5a8","_id":"@aslamhus/fileicon@2.0.0","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-tJrhEFTUQ6EUcPzpzi0EpklA7zNPug+aSfENPRr5p1wT1Y1mMgb8GrLlrpBapYPwhudiLhZjyIN1qBVoM9R9/Q==","shasum":"46cf69ba0eee684dea6113aa50dac3ed0ef3e7d3","tarball":"https://registry.npmjs.org/@aslamhus/fileicon/-/fileicon-2.0.0.tgz","fileCount":32,"unpackedSize":151587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/C14CRA9TVsSAnZWagAAj8UP/2pexVAZY+9f9g6SJhyK\n3X1Ygwbot1sDx+snl3aJ8Mdnqbu6RaUKTqPtKkQM7SSfyzqYw88fqK0k/6c4\n1OyQ0zXWImRfU3gVhbgrVmYEgHTF7k0TvJOqsVsBqqOGt2TLFy1J08w0Byue\nPsWDtYrwdFj4V2bOQT7864iBat5T3mvMf+eJOJX93lp/H0GpHySsqQnbsCau\nIbAIK3OUSGmbEKalpwKCh7KTLrkldIEpeNISt+hshmbR4R3IujEiJd68D5Rq\nuqHPUxQP1SirfY9MUHDB5gfW66iDXNuOaxjUGEHefuGMazM9AFvWBsPt1t+P\nn/x598xzbG9mXBj8SfKoIjsS2Lo8m2AtOxQinpoVToUhGdL++lfHzfHO0YSo\n7Lmjbcc4ZxJ7M1jwGkdfkaHytFVwpNbR5qhhJ4QgHfVhAB7YPmQMmMuCzc1A\nnRaZ6i//iBoYZ6konJ196wvwS2d8X1/TrVWLiYmxt+lj2Gg4ZNLwtPrJJf5c\n3taZfbWqWZ9leQvlLqF3JZ/La/NpgOlB2JTNjUT6UXjCFwnHLB8Jfil8Objm\nauijBp8JUFw28mKISftVE2l7KwLZRQD8H8/2OZdl7D6aRxQXsTSsZDX1sh1+\nGUIv1fu212LtT7JOm5N1jvRYsmMJrUE6QhUlKOVXzIm7fM6+IJS/Ua2nzjhz\n1JO2\r\n=BGiv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDZUqLGVZhinlX2b8trtgDTfsmFlJkMAzAr/oT9My45AIgehqTrrIIfsQ9d46f1VUm+SOXI6JUCH8nGG3A9qb09tw="}]},"_npmUser":{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"},"directories":{},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fileicon_2.0.0_1627139448063_0.3678968274982817"},"_hasShrinkwrap":false}},"time":{"created":"2021-07-22T13:23:40.976Z","1.0.1":"2021-07-22T13:23:41.136Z","modified":"2022-04-04T15:47:32.107Z","1.0.2":"2021-07-22T13:28:02.982Z","1.0.3":"2021-07-22T13:45:13.309Z","1.0.4":"2021-07-22T14:35:17.416Z","1.0.5":"2021-07-22T14:46:15.385Z","2.0.0":"2021-07-24T15:10:48.266Z"},"maintainers":[{"name":"aslamhus","email":"aslam.percy.husain@gmail.com"}],"description":"Create a file icon image with any file extension","author":{"name":"Aslam Husain","email":"aslam.percy.husain@gmail.com","url":"https://github.com/aslamhus"},"license":"MIT","readme":"# @aslamhus/fileicon\n\nCreate a file icon image with any file extension.\n\nGithub repo: [https://github.com/aslamhus/fileicon](https://github.com/aslamhus/fileicon)\n\n## Installation\n\n`npm install @aslamhus/fileicon`\n\n---\n\n## Getting started\n\nFor node users:\n\n```js\n// common js\nconst { FileIcon } = require('@aslamhus/fileicon');\n// es6\nimport { FileIcon } from '@aslamhus/fileicon';\n```\n\nUsing in the browser:\n\n```js\n// as a script tag\n<script src='./lib/FileIcon.js'></script>\n\n// as a module\n<script type='module'>\nimport { FileIcon } from '../lib/FileIcon.mjs';\n...\n```\n\n## Usage\n\nDraw a file icon with a a jpg extension. The default theme is greyscale.\n\n```js\nconst fileIcon = new FileIcon();\nfileIcon.create('jpg').then((icon) => {\n  document.body.append(icon);\n});\n```\n\nthe `create` method returns a `Promise` that resolves to an `img element`.\n\n---\n\n## Themes\n\nTo use a color theme, you can pass a theme name to the `FileIcon` `constructor`\n\n```js\nconst fileIcon = new FileIcon({ theme: 'purple' });\n```\n\nor use the `setColorTheme` method.\n\n```js\nfileIcon.setColorTheme('purple');\n```\n\nCurrently there are the following themes supported:\n\n| Name                | Solid                                                                                           | Outline (add '-outline')                                                                                        |\n| ------------------- | ----------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |\n| greyscale (default) | ![greyscale](https://github.com/aslamhus/fileicon/blob/main/docs/images/greyscale.png?raw=true) | ![greyscale-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/greyscale-outline.png?raw=true) |\n| black               | ![black](https://github.com/aslamhus/fileicon/blob/main/docs/images/black.png?raw=true)         | ![black-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/black-outline.png?raw=true)         |\n| white               | ![white](https://github.com/aslamhus/fileicon/blob/main/docs/images/white.png?raw=true)         | ![white-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/white-outline.png?raw=true)         |\n| red                 | ![red](https://github.com/aslamhus/fileicon/blob/main/docs/images/red.png?raw=true)             | ![red-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/red-outline.png?raw=true)             |\n| purple              | ![purple](https://github.com/aslamhus/fileicon/blob/main/docs/images/purple.png?raw=true)       | ![purple-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/purple-outline.png?raw=true)       |\n| blue                | ![blue](https://github.com/aslamhus/fileicon/blob/main/docs/images/blue.png?raw=true)           | ![blue-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/blue-outline.png?raw=true)           |\n| lightBlue           | ![lightBlue](https://github.com/aslamhus/fileicon/blob/main/docs/images/lightBlue.png?raw=true) | ![lightBlue-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/lightBlue-outline.png?raw=true) |\n| green               | ![green](https://github.com/aslamhus/fileicon/blob/main/docs/images/green.png?raw=true)         | ![green-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/green-outline.png?raw=true)         |\n| yellow              | ![yellow](https://github.com/aslamhus/fileicon/blob/main/docs/images/yellow.png?raw=true)       | ![yellow-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/yellow-outline.png?raw=true)       |\n| orange              | ![orange](https://github.com/aslamhus/fileicon/blob/main/docs/images/orange.png?raw=true)       | ![orange-outline](https://github.com/aslamhus/fileicon/blob/main/docs/images/orange-outline.png?raw=true)       |\n\n---\n\n## Colors\n\nTo add your own custom colors, you can pass a color object into the `FileIcon` `constructor` or use the `setColors` method.\n\n```js\nconst colors = {\n  bg: 'transparent',\n  iconBg: 'coral',\n  textBg: 'rgba(250,250,250,0.2)',\n  text: '#FFF',\n  outline: 'white',\n};\nconst fileIcon = new FileIcon({ colors: colors });\n```\n\n_Note that you can use **Hexcolor**, a **color name** or an **rgb value**_\n\nThis will produce a file icon like so:\n\n![custom colors file icon](https://github.com/aslamhus/fileicon/blob/main/docs/images/ex1.png?raw=true)\n\n## Sample Tests\n\nSee [test.html](../test/test.html) for more examples\n\n## License\n\nThis project is licensed under the [MIT license](../LICENSE.md)\nsee the [LICENSE.md](../LICENSE.md) file for details\n","readmeFilename":"README.md","keywords":["file-icon","icon"]}