{"_id":"@purge-icons/core","_rev":"2796372","name":"@purge-icons/core","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","dist-tags":{"latest":"0.8.0"},"maintainers":[{"name":"antfu","email":""}],"time":{"modified":"2022-07-12T09:46:06.000Z","created":"2020-08-14T15:10:54.152Z","0.8.0":"2022-02-26T06:56:47.186Z","0.7.0":"2021-02-17T01:45:40.588Z","0.6.0":"2021-01-24T15:13:11.597Z","0.5.2":"2021-01-19T08:09:08.912Z","0.5.1":"2021-01-13T11:58:31.550Z","0.5.0":"2021-01-04T16:23:14.484Z","0.4.5":"2020-11-05T05:57:48.441Z","0.4.4":"2020-10-15T10:19:59.176Z","0.4.1":"2020-09-16T08:53:03.817Z","0.4.0":"2020-08-16T10:03:44.640Z","0.3.1":"2020-08-14T18:51:34.689Z","0.3.0":"2020-08-14T16:32:19.362Z","0.2.11":"2020-08-14T15:10:54.152Z"},"users":{},"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"versions":{"0.8.0":{"name":"@purge-icons/core","version":"0.8.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.1.2","axios":"^0.26.0","debug":"^4.3.3","fast-glob":"^3.2.11","fs-extra":"^10.0.1"},"devDependencies":{"@iconify/json":"^2.1.7","@iconify/types":"^1.0.12","@types/debug":"^4.1.7","@types/fs-extra":"^9.0.13","@types/yargs":"^17.0.8","ava":"^4.0.1","cross-env":"^7.0.3","esbuild-register":"^3.3.2","esm":"^3.2.25","esno":"^0.14.1","tsup":"^5.11.13","typescript":"^4.5.5"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"7577b0d282944efcafb8aad45f36e93a54657db0","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.8.0","_nodeVersion":"16.13.0","_npmVersion":"lerna/3.22.1/node@v16.13.0+arm64 (darwin)","dist":{"shasum":"4b7394cad2bc63404095254a22551a928df8e3f6","size":9423,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.8.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.8.0_1645858607035_0.679919751950653"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-26T06:56:52.439Z","publish_time":1645858607186,"_cnpm_publish_time":1645858607186},"0.7.0":{"name":"@purge-icons/core","version":"0.7.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.6","axios":"^0.21.1","debug":"^4.3.2","fast-glob":"^3.2.5","fs-extra":"^9.1.0"},"devDependencies":{"@iconify/json":"^1.1.303","@iconify/types":"^1.0.6","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.7","@types/yargs":"^16.0.0","ava":"^3.15.0","cross-env":"^7.0.3","esbuild-register":"^2.0.0","esm":"^3.2.25","esno":"^0.4.3","tsup":"^3.12.1","typescript":"^4.1.5"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"b4a5eab4432a9dee593ce961dcbad851c5a70701","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.7.0","_nodeVersion":"15.8.0","_npmVersion":"lerna/3.22.1/node@v15.8.0+x64 (darwin)","dist":{"shasum":"097ba8d4d8b7e8d662df687bd2391eb8b83caba0","size":10223,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.7.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.7.0_1613526340438_0.0887273620418485"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:49:02.242Z","publish_time":1613526340588,"_cnpm_publish_time":1613526340588},"0.6.0":{"name":"@purge-icons/core","version":"0.6.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.6","axios":"^0.21.1","debug":"^4.3.2","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.285","@iconify/types":"^1.0.6","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.6","@types/yargs":"^15.0.12","ava":"^3.15.0","cross-env":"^7.0.3","esbuild-register":"^1.2.1","esm":"^3.2.25","esno":"^0.4.0","tsup":"^3.11.0","typescript":"^4.1.3"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"0c5ea1ceb8b651ce28cdd782a4eb7b2d88039e81","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.6.0","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (darwin)","dist":{"shasum":"b966d042c504a256299b2d63b4d16ae26c9e0317","size":10044,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.6.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.6.0_1611501191482_0.9139726537150255"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:49:01.359Z","publish_time":1611501191597,"_cnpm_publish_time":1611501191597},"0.5.2":{"name":"@purge-icons/core","version":"0.5.2","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.6","axios":"^0.21.1","debug":"^4.3.2","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.285","@iconify/types":"^1.0.6","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.6","@types/yargs":"^15.0.12","ava":"^3.15.0","cross-env":"^7.0.3","esbuild-register":"^1.2.1","esm":"^3.2.25","esno":"^0.4.0","tsup":"^3.11.0","typescript":"^4.1.3"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"ff2ec647e903b76df0db872b8bf3934fa044702f","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.5.2","_nodeVersion":"15.6.0","_npmVersion":"lerna/3.22.1/node@v15.6.0+x64 (darwin)","dist":{"shasum":"f308ab31772555babc1c425b9adde7d6a3ec9ab9","size":10040,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.5.2.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.5.2_1611043748797_0.6134244302661473"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:59.661Z","publish_time":1611043748912,"_cnpm_publish_time":1611043748912},"0.5.1":{"name":"@purge-icons/core","version":"0.5.1","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.6","axios":"^0.21.1","debug":"^4.3.2","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.285","@iconify/types":"^1.0.6","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.6","@types/yargs":"^15.0.12","ava":"^3.15.0","cross-env":"^7.0.3","esbuild-register":"^1.2.1","esm":"^3.2.25","esno":"^0.4.0","tsup":"^3.11.0","typescript":"^4.1.3"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"b075c2f54559437a1fc22953d050f520ce91427a","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.5.1","_nodeVersion":"14.15.3","_npmVersion":"lerna/3.22.1/node@v14.15.3+x64 (darwin)","dist":{"shasum":"d4052b744287e28ec5889cda6620885e68d80f86","size":9941,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.5.1.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.5.1_1610539111385_0.12258332676319017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:57.741Z","publish_time":1610539111550,"_cnpm_publish_time":1610539111550},"0.5.0":{"name":"@purge-icons/core","version":"0.5.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.5","axios":"^0.21.1","debug":"^4.3.2","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.281","@iconify/types":"^1.0.6","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.6","@types/yargs":"^15.0.12","ava":"^3.15.0","cross-env":"^7.0.3","esbuild-register":"^1.1.1","esm":"^3.2.25","esno":"^0.3.0","tsup":"^3.11.0","typescript":"^4.1.3"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"8e328dd7e1707ad91027d4fd4fc618dafe50d373","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.5.0","_nodeVersion":"14.15.3","_npmVersion":"lerna/3.22.1/node@v14.15.3+x64 (darwin)","dist":{"shasum":"0f84a5aff15f665099d4a14edd986aa5dad12d25","size":9908,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.5.0.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.5.0_1609777394336_0.6412248040193065"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:56.118Z","publish_time":1609777394484,"_cnpm_publish_time":1609777394484},"0.4.5":{"name":"@purge-icons/core","version":"0.4.5","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.1","axios":"^0.21.0","debug":"^4.3.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.251","@iconify/types":"^1.0.4","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.3","@types/yargs":"^15.0.9","ava":"^3.13.0","cross-env":"^7.0.2","esbuild-register":"^1.1.0","esm":"^3.2.25","esno":"^0.2.4","tsup":"^3.7.1","typescript":"^4.0.5"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"782b327c78caceabef136d286280e718284df06c","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.4.5","_nodeVersion":"14.13.1","_npmVersion":"lerna/3.22.1/node@v14.13.1+x64 (darwin)","dist":{"shasum":"2525c46d8721910eb420954dd5eb4d3c9753838a","size":9739,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.4.5.tgz"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.4.5_1604555868287_0.8437704099060872"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:54.434Z","publish_time":1604555868441,"_cnpm_publish_time":1604555868441},"0.4.4":{"name":"@purge-icons/core","version":"0.4.4","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.1","axios":"^0.20.0","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.224","@iconify/types":"^1.0.4","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.12.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.6.1","typescript":"^4.0.2"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"fd673d493a9732362e641df7b6cb4464cd595034","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.4.4","_nodeVersion":"14.13.1","_npmVersion":"lerna/3.22.1/node@v14.13.1+x64 (darwin)","dist":{"shasum":"aa7d979bdecc7408f26704354f75b4b3ed2877cb","size":9621,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.4.4.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.4.4_1602757199025_0.14180785234458804"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:52.784Z","publish_time":1602757199176,"_cnpm_publish_time":1602757199176},"0.4.1":{"name":"@purge-icons/core","version":"0.4.1","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-rc.1","axios":"^0.20.0","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.224","@iconify/types":"^1.0.4","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.12.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.6.1","typescript":"^4.0.2"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"51b7f86f7cccfeb9411a4c95bea3d54ac5f447fd","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.4.1","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"7bc639e8e0650455c4d1972e2e9c43a0fb9cbb7e","size":9549,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.4.1.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.4.1_1600246383672_0.2811489699045424"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:51.111Z","publish_time":1600246383817,"_cnpm_publish_time":1600246383817},"0.4.0":{"name":"@purge-icons/core","version":"0.4.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-beta.5","axios":"^0.19.2","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.205","@iconify/types":"^1.0.3","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.11.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.4.3","typescript":"^3.9.7"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"ead59c8ec77e9ebda1db43084e3aab567585b7cc","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.4.0","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"68788284a8349309bbc2ceaa94165fbb447812cc","size":9310,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.4.0.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.4.0_1597572224515_0.7897534171645175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:49.458Z","publish_time":1597572224640,"_cnpm_publish_time":1597572224640},"0.3.1":{"name":"@purge-icons/core","version":"0.3.1","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-beta.5","axios":"^0.19.2","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.205","@iconify/types":"^1.0.3","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.11.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.4.3","typescript":"^3.9.7"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"3ea63e59fbe4352c99591a2a8bcfdbc2c9bd5624","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.3.1","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"0b4dda13e23cfb21f28a1fae3c408297b91476c6","size":9234,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.3.1.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.3.1_1597431094507_0.2731994381407299"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:47.817Z","publish_time":1597431094689,"_cnpm_publish_time":1597431094689},"0.3.0":{"name":"@purge-icons/core","version":"0.3.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-beta.5","axios":"^0.19.2","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.205","@iconify/types":"^1.0.3","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.11.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.4.3","typescript":"^3.9.7"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"a2b6e067fcac57a9b4e5001aaf9ed61486c9268f","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.3.0","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"02dde716c0faa33c7ae70542c99036adab8774d6","size":9043,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.3.0.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.3.0_1597422739189_0.14757666484248877"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:46.163Z","publish_time":1597422739362,"_cnpm_publish_time":1597422739362},"0.2.11":{"name":"@purge-icons/core","version":"0.2.11","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"repository":{"type":"git","url":"git+https://github.com/antfu/purge-icons.git"},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"scripts":{"prebuild":"esno scripts/prepare.ts","build":"tsup src/index.ts --format cjs,esm --dts","test":"ava"},"publishConfig":{"access":"public"},"dependencies":{"@iconify/iconify":"2.0.0-beta.5","axios":"^0.19.2","debug":"^4.2.0","fast-glob":"^3.2.4","fs-extra":"^9.0.1"},"devDependencies":{"@iconify/json":"^1.1.205","@iconify/types":"^1.0.3","@types/debug":"^4.1.5","@types/fs-extra":"^9.0.1","@types/yargs":"^15.0.5","ava":"^3.11.1","cross-env":"^7.0.2","esbuild-register":"^1.0.2","esm":"^3.2.25","esno":"^0.2.0","tsup":"^3.4.3","typescript":"^3.9.7"},"ava":{"extensions":["ts"],"require":["esm","esbuild-register"]},"gitHead":"2a98fec247a1c11b1b710738a395214989a2e6b9","description":"<h1 align='center'><samp>PurgeIcons</samp></h1>","_id":"@purge-icons/core@0.2.11","_nodeVersion":"14.7.0","_npmVersion":"lerna/3.22.1/node@v14.7.0+x64 (darwin)","dist":{"shasum":"92390525f8802e577815c14b9395ad58a685ea5f","size":8260,"noattachment":false,"key":"/@purge-icons/core/-/@purge-icons/core-0.2.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/@purge-icons/core/download/@purge-icons/core-0.2.11.tgz"},"maintainers":[{"name":"antfu","email":""}],"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.2.11_1597417854053_0.16219519958674566"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T02:48:44.527Z","publish_time":1597417854152,"_cnpm_publish_time":1597417854152}},"readme":"<h1 align='center'><samp>PurgeIcons</samp></h1>\n\n<p align='center'>Bundles only the icons you use</p>\n\n<p align='center'><em>Think about TailwindCSS + PurgeCSS, but for Icons.</em>\n\n<br>\n<br>\n\n<a href='https://www.npmjs.com/package/purge-icons'>\n<img src='https://img.shields.io/npm/v/purge-icons?color=222&style=flat-square'>\n</a>\n</p>\n\n<p align='center'>\n<img src='https://user-images.githubusercontent.com/11247099/89781398-ce625a80-db45-11ea-86bf-d50471c526b7.gif' alt='GIF Demo'/>\n</p>\n\n\n## Intro\n\n**PurgeIcons** is heavily inspired from [PurgeCSS](https://purgecss.com/). It analyzes your source code or dist files, extracting the icon names you used, and then bundle the icons' data (SVGs) into your code.\n\n**You will only get icons you need. No extra bandwidth, no unused icons, no compromise.**\n\nUnderneath, it's powered by [**Iconify**](https://iconify.design), which you get access to 80+ popular open source iconsets with over 5,000 icons to choice, including ***Material Design Icons***, ***Font Awesome***, ***Octicon*** and even ***Emojis***!\n\nBrowser the icon sets in [Icônes](https://icones.netlify.app/) or [Iconify](https://iconify.design/icon-sets/).\n\n\n## Usage\n\nJust like what you used to do for Iconify.\n\n```html\n<span class=\"iconify\" data-icon=\"fa:home\"></span>\n```\n\nOr even dynamic\n\n```js\nconst span = createElement('span')\nspan.class = 'iconify'\nspan.data.icon = isDark ? 'carbon:moon' : 'carbon:sun'\n\n// DON'T, PurgeIcons won't extract them correct.\n// add them to `included` to be always bundled if you really want this\nspan.data.icon = `carbon:${isDark ? 'moon' : 'sun'}`\n```\n\n## Install\n\n**PurgeIcons** is designed to be framework independent, but using framework plugins is the most recommended way to get started. Check out the supported frameworks in the following list. We are trying to make more frameworks able to use PurgeIcons out-of-box. Pull requests are great welcome!\n\n### Official Plugins\n\n| | Plugin | Example | Template |\n| --- | --- | --- | --- |\n| Vite | [vite-plugin-purge-icons](./packages/vite-plugin-purge-icons) | [Example](./examples/vite) | [Vitesse](https://github.com/antfu/vitesse) |\n| Nuxt | [nuxt-plugin-purge-module](./packages/nuxt-plugin-purge-module) | [Example](./examples/nuxt) | |\n| Vue CLI | Coming... | | |\n| Gridsome | Coming... | | |\n| Parcel | Coming... | | |\n| Webpack | [purge-icons-webpack-plugin](./packages/purge-icons-webpack-plugin) | | |\n| Rollup | [rollup-plugin-purge-icons](./packages/rollup-plugin-purge-icons) | | |\n\n<br>\n\n## Command Line Interface\n\n> The CLI is still working in progress and the design is not yet finalized.\n\nYou can either install PurgeIcons as a dev dependency and use the CLI with npx or you can also install PurgeIcons globally:\n\n```bash\nnpm i -g purge-icons\n\n```\n\nScan the all the html file and geneted a `mjs` bundle\n\n```bash\npurge-icons --content 'src/*.html' --format mjs --output output.js\n```\n\nFrom multiple sources and use args shorthands, `format` can be auto inferred from the `output` option  \n\n```bash\npurge-icons -c 'index.html,src/**/*.vue' -o output.ts\n```\n\nOr export plain json file for other tools to process\n\n```bash\npurge-icons -c index.html -o output.json\n```\n\nSee more options by\n\n```bash\npurge-icons --help\n```\n\n## Programmatic API\n\n> Programmatic API is still working in progress as well.\n\nFor programmatic use only, you can use `@purge-icons/core`\n\n```bash\nnpm i -D @purge-icons/core\n```\n\n```ts\nimport { PurgeIconsOptions, PurgeIcons } from '@purge-icons/core'\n\nconst code = await PurgeIcons({\n  // globs for searching source file to analyze\n  content: [\n    '**/*.html',\n    '**/*.js',\n    '**/*.vue', // scan for .vue file as well\n  ],\n  // whitelist for icons that might be used dynamically\n  included: [\n    'mdi:account-circle-outline', // from Material Design Icons\n    'fa:camera', // from Font Awesome 4\n  ],\n  format: 'mjs'\n})\n\n// code is generated with inlined icons's data, bundle the file and it's done.\nfs.promises.writeFiles('./icons.mjs', code, 'utf-8')\n```\n\n### Options \n\n```ts\nexport interface PurgeIconsOptions {\n  content?: (string | RawContent)[]\n  included?: string[]\n  extractors?: Extractor[]\n  iconSource?: IconSource // default to 'auto'\n}\n```\n\n## How It Works\n\n[**Iconify**](https://iconify.design) is an icon framework that provide an unified syntax to use icons from its [huge collections](https://iconify.design/icon-sets/) on-demanded. Each icon set has a id as the prefix of for its icons. For example:\n\n```html\n<span class=\"iconify\" data-icon=\"fa:home\"></span>   <!-- Font Awesome -->\n<span class=\"iconify\" data-icon=\"noto:bird\"></span> <!-- Note Icons -->\n<span class=\"iconify\" data-icon=\"mdi:alert\"></span> <!-- Material Design Icons -->\n```\n\nIconify achieve that by building up a API service that only send the icons you need. It provides a great flexibility that you can try with different design style and without to worry about including a large amount of unused icons that eat up your bandwidth and slow down your page load.\n\nHowever, the downside of API querying is that the icons won't be available on the first meaningful paint and your app will be heavy relied on the API servers' status and so its accessability for your users. Iconify also provides the [offline solution by implementing frameworks components](https://docs.iconify.design/implementations/#components). In that way, you would need to manually import every icon you use.\n\nThus, PurgeIcons was born. By scanning your code, it generates [bundles](https://docs.iconify.design/sources/bundles/) for Iconify and load them synchronously. You can use icons in the exact same way as you would with the API based solution.\n\n\n## TODO\n\n- CLI output\n- Better caching\n- Plugins for frameworks (Vue CLI, Nuxt.js, Next.js, etc.) PR welcome!\n- Font-based icons (Javascript Free)\n\n## License\n\nMIT License © 2020 [Anthony Fu](https://github.com/antfu)\n","_attachments":{},"homepage":"https://github.com/antfu/purge-icons","bugs":{"url":"https://github.com/antfu/purge-icons/issues"},"license":"MIT"}