{"_id":"critters","_rev":"4486315","name":"critters","description":"Inline critical CSS and lazy-load the rest.","dist-tags":{"latest":"0.0.25"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"time":{"modified":"2026-04-09T01:13:57.000Z","created":"2018-04-03T12:52:15.065Z","0.0.25":"2024-10-10T20:31:17.976Z","0.0.24":"2024-06-25T16:26:45.099Z","0.0.23":"2024-06-25T07:32:55.007Z","0.0.22":"2024-03-07T07:30:10.768Z","0.0.21":"2024-02-28T22:23:05.309Z","0.0.20":"2023-08-04T02:41:13.161Z","0.0.19":"2023-06-16T17:33:59.510Z","0.0.18":"2023-05-30T20:28:32.692Z","0.0.17":"2023-05-26T21:29:08.839Z","0.0.16":"2022-01-05T16:06:44.122Z","0.0.15":"2021-11-25T21:20:31.866Z","0.0.14":"2021-10-22T16:51:09.288Z","0.0.13":"2021-10-22T14:49:06.404Z","0.0.12":"2021-10-21T21:02:38.510Z","0.0.11":"2021-10-18T17:48:19.486Z","0.0.10":"2021-03-24T18:26:23.664Z","0.0.9":"2021-03-17T23:13:29.562Z","0.0.8":"2021-03-09T20:53:32.396Z","0.0.7":"2021-02-11T22:21:51.554Z","0.0.6":"2020-10-15T01:24:49.168Z","0.0.5":"2020-10-10T03:44:52.223Z","0.0.4":"2020-09-29T22:43:37.714Z","0.0.3":"2020-09-29T21:09:07.504Z","0.0.2":"2020-09-29T18:44:37.465Z","0.0.1":"2018-04-03T12:52:15.065Z"},"users":{},"author":{"name":"The Chromium Authors"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"versions":{"0.0.25":{"name":"critters","version":"0.0.25","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","postcss-media-query-parser":"^0.2.3"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"_id":"critters@0.0.25","gitHead":"c5702fcddb1da57fe403b8089a94fefdac806292","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"shasum":"8568e6add4a8f68d0b1dbe0c4839286947b37888","size":44033,"noattachment":false,"key":"/critters/-/critters-0.0.25.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.25.tgz"},"_npmUser":{"name":"alan.agius4","email":"alan.agius4@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.25_1728592277740_0.3511318663346008"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-10T20:31:17.976Z","publish_time":1728592277976,"_source_registry_name":"default","deprecated":"Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties","_cnpm_publish_time":1728592277976},"0.0.24":{"name":"critters","version":"0.0.24","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","postcss-media-query-parser":"^0.2.3"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"_id":"critters@0.0.24","gitHead":"10feb5b534a1883e66f11160e69f223276233d1c","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_nodeVersion":"18.19.1","_npmVersion":"10.8.1","dist":{"shasum":"d20b16c28908d2dae4b9cd4851d4d2c93de98a0b","size":44067,"noattachment":false,"key":"/critters/-/critters-0.0.24.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.24.tgz"},"_npmUser":{"name":"alan.agius4","email":"alan.agius4@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.24_1719332804951_0.6843999484481276"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-25T16:26:45.099Z","publish_time":1719332805099,"_source_registry_name":"default","deprecated":"Ownership of Critters has moved to the Nuxt team, who will be maintaining the project going forward. If you'd like to keep using Critters, please switch to the actively-maintained fork at https://github.com/danielroe/beasties","maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_cnpm_publish_time":1719332805099},"0.0.23":{"name":"critters","version":"0.0.23","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","postcss-media-query-parser":"^0.2.3"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"_id":"critters@0.0.23","gitHead":"ffc157141b444dc2996b789b099ec589549e7afc","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_nodeVersion":"18.19.1","_npmVersion":"10.8.1","dist":{"shasum":"e07b487785fb375caf15732ac277808c9bd574af","size":44077,"noattachment":false,"key":"/critters/-/critters-0.0.23.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.23.tgz"},"_npmUser":{"name":"alan.agius4","email":"alan.agius4@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.23_1719300774407_0.9371877142792315"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-25T07:32:55.007Z","publish_time":1719300775007,"_source_registry_name":"default","maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_cnpm_publish_time":1719300775007},"0.0.22":{"name":"critters","version":"0.0.22","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","postcss-media-query-parser":"^0.2.3"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"92eae7724f59887011e032963c3ce28872d5af1b","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.22","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"ce76b1cbc70078c89d23725646357e3850236dae","size":43936,"noattachment":false,"key":"/critters/-/critters-0.0.22.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.22.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.22_1709796610584_0.9179767361897226"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-07T07:30:10.768Z","publish_time":1709796610768,"_source_registry_name":"default","_cnpm_publish_time":1709796610768},"0.0.21":{"name":"critters","version":"0.0.21","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","postcss-media-query-parser":"^0.2.3","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"a1e2f1a1f928461506a8a07c4d19da31ac5ab46c","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.21","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"8c3a97f657291767211c3d50491c9fc218d9d58e","size":43099,"noattachment":false,"key":"/critters/-/critters-0.0.21.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.21.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.21_1709158985108_0.4071969118568046"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-28T22:23:05.309Z","publish_time":1709158985309,"_source_registry_name":"default","_cnpm_publish_time":1709158985309},"0.0.20":{"name":"critters","version":"0.0.20","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"19476119082f12f120077137ab67a7c863944212","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.20","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"08ddb961550ab7b3a59370537e4f01df208f7646","size":40498,"noattachment":false,"key":"/critters/-/critters-0.0.20.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.20.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.20_1691116872937_0.15414644216738194"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-04T02:41:13.161Z","publish_time":1691116873161,"_source_registry_name":"default","_cnpm_publish_time":1691116873161},"0.0.19":{"name":"critters","version":"0.0.19","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"3b3ea7b1ad8ca4d5e40cdf793aecc1b4dcaa5e1c","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.19","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"15e3a3a0ed77ae4b69c3b2fe29c8e7e87fc77d1b","size":40480,"noattachment":false,"key":"/critters/-/critters-0.0.19.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.19.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.19_1686936839279_0.18166785255541118"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-16T17:33:59.510Z","publish_time":1686936839510,"_source_registry_name":"default","deprecated":"Please upgrade to the latest version. There is a potential XSS vulnerability in this version","_cnpm_publish_time":1686936839510},"0.0.18":{"name":"critters","version":"0.0.18","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"bcce3103f9e754cd8c3d8b1681f7e1cf6e536282","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.18","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"shasum":"37ea730ee3a1f19844e8099c3fd75b526e1bbcc9","size":40235,"noattachment":false,"key":"/critters/-/critters-0.0.18.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.18.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.18_1685478512499_0.23952906806809593"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-30T20:28:32.692Z","publish_time":1685478512692,"_source_registry_name":"default","deprecated":"Please upgrade to the latest version. There is a potential XSS vulnerability in this version","_cnpm_publish_time":1685478512692},"0.0.17":{"name":"critters","version":"0.0.17","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^5.2.0","css-select":"^5.1.0","dom-serializer":"^2.0.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","postcss":"^8.4.23","pretty-bytes":"^6.1.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"gitHead":"1f8a941a069cfeb68450d33a42187c5398496fd7","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.17","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"8e0d47cfbec85d86444ecb3b61caf521380f12a6","size":40233,"noattachment":false,"key":"/critters/-/critters-0.0.17.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.17.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.17_1685136548621_0.7658426703131178"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-26T21:29:08.839Z","publish_time":1685136548839,"_source_registry_name":"default","deprecated":"Please upgrade to the latest version. There is a potential XSS vulnerability in this version","_cnpm_publish_time":1685136548839},"0.0.16":{"name":"critters","version":"0.0.16","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"https://github.com/GoogleChromeLabs/critters","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^4.2.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"_id":"critters@0.0.16","dist":{"shasum":"ffa2c5561a65b43c53b940036237ce72dcebfe93","size":30149,"noattachment":false,"key":"/critters/-/critters-0.0.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.16.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.16_1641398803990_0.7372736838780143"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-05T16:07:15.760Z","publish_time":1641398804122,"_cnpm_publish_time":1641398804122},"0.0.15":{"name":"critters","version":"0.0.15","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^4.1.3","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.15","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"shasum":"b1c8d18fd18e614471733d7d749deac0f386b738","size":30127,"noattachment":false,"key":"/critters/-/critters-0.0.15.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.15.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.15_1637875231736_0.9630284977437513"},"_hasShrinkwrap":false,"publish_time":1637875231866,"_cnpm_publish_time":1637875231866,"_cnpmcore_publish_time":"2021-12-16T19:31:13.183Z"},"0.0.14":{"name":"critters","version":"0.0.14","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^4.1.3","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"devDependencies":{"documentation":"^13.0.2","microbundle":"^0.12.3"},"bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.14","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"shasum":"08e585ce9cb9b9a3eab88cafda7bde7f6cd0763f","size":46964,"noattachment":false,"key":"/critters/-/critters-0.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.14.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.14_1634921469052_0.7306923439213606"},"_hasShrinkwrap":false,"publish_time":1634921469288,"_cnpm_publish_time":1634921469288,"_cnpmcore_publish_time":"2021-12-16T19:31:13.472Z"},"0.0.13":{"name":"critters","version":"0.0.13","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^4.1.3","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"devDependencies":{"microbundle":"^0.12.3"},"bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.13","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"shasum":"65d9b102b3194e60d9411611f2683cff105c5080","size":44722,"noattachment":false,"key":"/critters/-/critters-0.0.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.13.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.13_1634914146176_0.6830894941795744"},"_hasShrinkwrap":false,"publish_time":1634914146404,"_cnpm_publish_time":1634914146404,"_cnpmcore_publish_time":"2021-12-16T19:31:14.019Z"},"0.0.12":{"name":"critters","version":"0.0.12","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^4.1.3","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"devDependencies":{"microbundle":"^0.12.3"},"bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.12","_nodeVersion":"14.17.4","_npmVersion":"6.14.14","dist":{"shasum":"32baa87526e053a41b67e19921673ed92264e2ab","size":44714,"noattachment":false,"key":"/critters/-/critters-0.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.12.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.12_1634850158310_0.5674135537304581"},"_hasShrinkwrap":false,"publish_time":1634850158510,"_cnpm_publish_time":1634850158510,"_cnpmcore_publish_time":"2021-12-16T19:31:14.561Z"},"0.0.11":{"name":"critters","version":"0.0.11","description":"Inline critical CSS and lazy-load the rest.","main":"dist/critters.js","module":"dist/critters.mjs","source":"src/index.js","exports":{"import":"./dist/critters.mjs","require":"./dist/critters.js","default":"./dist/critters.mjs"},"typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git","directory":"packages/critters"},"scripts":{"build":"microbundle --target node --no-sourcemap -f cjs,esm","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build"},"dependencies":{"chalk":"^4.1.0","css-select":"^1.2.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^8.3.7","pretty-bytes":"^5.3.0"},"bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.11","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"8dce2ba94e906d31de82b7c12b973717d1488823","size":52491,"noattachment":false,"key":"/critters/-/critters-0.0.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.11.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.11_1634579299344_0.531849904635501"},"_hasShrinkwrap":false,"publish_time":1634579299486,"_cnpm_publish_time":1634579299486,"_cnpmcore_publish_time":"2021-12-16T19:31:14.841Z"},"0.0.10":{"name":"critters","version":"0.0.10","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main && npm run -s build:webpack","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*.js"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0","webpack-log":"^3.0.2"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","pretty-bytes":"^5.3.0"},"gitHead":"1f23cb5b488effe0f782cc6855013fdaec38924c","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.10","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"shasum":"edd0e962fc5af6c4adb6dbf1a71bae2d3f917000","size":471630,"noattachment":false,"key":"/critters/-/critters-0.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.10.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.10_1616610383351_0.19694513685266002"},"_hasShrinkwrap":false,"publish_time":1616610383664,"_cnpm_publish_time":1616610383664,"_cnpmcore_publish_time":"2021-12-16T19:31:15.964Z"},"0.0.9":{"name":"critters","version":"0.0.9","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main && npm run -s build:webpack","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","pretty-bytes":"^5.3.0"},"gitHead":"e9a687265cd003fcbf27e7802d7b8c72168c8a14","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.9","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"shasum":"1a000ad42527ee5fdd08905dafdb15ded8c906f2","size":469085,"noattachment":false,"key":"/critters/-/critters-0.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.9.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.9_1616022809332_0.9233027895041306"},"_hasShrinkwrap":false,"publish_time":1616022809562,"_cnpm_publish_time":1616022809562,"_cnpmcore_publish_time":"2021-12-16T19:31:17.222Z"},"0.0.8":{"name":"critters","version":"0.0.8","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","pretty-bytes":"^5.3.0","webpack-log":"^3.0.1"},"gitHead":"0524b2e297eb995238b29cad01fadd49524d98bd","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.8","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"shasum":"174dfa6bb05beb1364d10091556d908d424a4919","size":467845,"noattachment":false,"key":"/critters/-/critters-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.8.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.8_1615323212236_0.030225561705052195"},"_hasShrinkwrap":false,"publish_time":1615323212396,"_cnpm_publish_time":1615323212396,"_cnpmcore_publish_time":"2021-12-16T19:31:17.982Z"},"0.0.7":{"name":"critters","version":"0.0.7","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","pretty-bytes":"^5.3.0"},"gitHead":"0524b2e297eb995238b29cad01fadd49524d98bd","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.7","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"548b470360f4f3c51e622de3b7aa733c8f0b17bf","size":467698,"noattachment":false,"key":"/critters/-/critters-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.7.tgz"},"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.7_1613082111348_0.3077267551141041"},"_hasShrinkwrap":false,"publish_time":1613082111554,"_cnpm_publish_time":1613082111554,"_cnpmcore_publish_time":"2021-12-16T19:31:19.071Z"},"0.0.6":{"name":"critters","version":"0.0.6","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","pretty-bytes":"^5.3.0"},"gitHead":"99d5070b58e5edc861f5ac6cdc8fc15223a04bfc","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.6","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"b71384113d8b5f5c82f3aeba80c122437f195d8c","size":467516,"noattachment":false,"key":"/critters/-/critters-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.6.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.6_1602725088926_0.8607579957052249"},"_hasShrinkwrap":false,"publish_time":1602725089168,"_cnpm_publish_time":1602725089168,"_cnpmcore_publish_time":"2021-12-16T19:31:19.858Z"},"0.0.5":{"name":"critters","version":"0.0.5","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","cssnano":"^4.1.7","minimatch":"^3.0.4","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^7.0.5","pretty-bytes":"^5.3.0","webpack-log":"^3.0.1","webpack-sources":"^1.3.0"},"gitHead":"f891a5960383c58f9e1d595288594f52dceed3c7","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.5","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"fea0e434f181a63f14b503a3121455adca11a3d1","size":468214,"noattachment":false,"key":"/critters/-/critters-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.5.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.5_1602301492051_0.14970455719729148"},"_hasShrinkwrap":false,"publish_time":1602301492223,"_cnpm_publish_time":1602301492223,"_cnpmcore_publish_time":"2021-12-16T19:31:21.118Z"},"0.0.4":{"name":"critters","version":"0.0.4","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","cssnano":"^4.1.7","minimatch":"^3.0.4","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^7.0.5","pretty-bytes":"^5.3.0","webpack-log":"^3.0.1","webpack-sources":"^1.3.0"},"gitHead":"f891a5960383c58f9e1d595288594f52dceed3c7","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.4","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"f040765161fc529d1b46c53c97b95de6d995efa4","size":468210,"noattachment":false,"key":"/critters/-/critters-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.4.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.4_1601419417493_0.9056129091719893"},"_hasShrinkwrap":false,"publish_time":1601419417714,"_cnpm_publish_time":1601419417714,"_cnpmcore_publish_time":"2021-12-16T19:31:22.086Z"},"0.0.3":{"name":"critters","version":"0.0.3","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","typings":"src/index.d.ts","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","cssnano":"^4.1.7","minimatch":"^3.0.4","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^7.0.5","pretty-bytes":"^5.3.0","webpack-log":"^3.0.1","webpack-sources":"^1.3.0"},"gitHead":"f891a5960383c58f9e1d595288594f52dceed3c7","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.3","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"cd34ce86688faf2119309dff615033997a81692b","size":468185,"noattachment":false,"key":"/critters/-/critters-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.3.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.3_1601413747362_0.19934468009982442"},"_hasShrinkwrap":false,"publish_time":1601413747504,"_cnpm_publish_time":1601413747504,"_cnpmcore_publish_time":"2021-12-16T19:31:23.401Z"},"0.0.2":{"name":"critters","version":"0.0.2","description":"Plugin to inline critical CSS and lazy-load the rest.","main":"dist/critters.js","source":"src/index.js","license":"Apache-2.0","author":{"name":"The Chromium Authors"},"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"keywords":["critical css","inline css","critical","critters","webpack plugin","performance"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/critters.git"},"scripts":{"build":"npm run -s build:main","build:main":"microbundle --target node","build:webpack":"cd packages/critters-webpack-plugin && npm run -s build","docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","prepare":"npm run -s build","release":"npm run build -s && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish","test":"jest --coverage"},"jest":{"testEnvironment":"jsdom","testURL":"http://localhost","coverageReporters":["text"],"collectCoverageFrom":["src/**/*"],"watchPathIgnorePatterns":["node_modules","dist"]},"devDependencies":{"@babel/preset-env":"^7.11.0","babel-core":"^6.26.0","babel-jest":"^26.3.0","css-loader":"^4.2.1","documentation":"^13.0.2","eslint":"^7.6.0","eslint-config-prettier":"^6.11.0","eslint-config-standard":"^14.1.1","eslint-plugin-import":"^2.11.0","eslint-plugin-jest":"^23.20.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","file-loader":"^6.0.0","html-webpack-plugin":"^3.2.0","jest":"^26.3.0","microbundle":"^0.12.3","mini-css-extract-plugin":"^0.10.0","webpack":"^4.6.0"},"dependencies":{"chalk":"^4.1.0","css":"^3.0.0","cssnano":"^4.1.7","minimatch":"^3.0.4","parse5":"^6.0.1","parse5-htmlparser2-tree-adapter":"^6.0.1","postcss":"^7.0.5","pretty-bytes":"^5.3.0","webpack-log":"^3.0.1","webpack-sources":"^1.3.0"},"gitHead":"f891a5960383c58f9e1d595288594f52dceed3c7","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","_id":"critters@0.0.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"01065667b3d34a11a5a1e5eedbf77933a8123b8d","size":467060,"noattachment":false,"key":"/critters/-/critters-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.2.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"_npmUser":{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.2_1601405077233_0.08158650568441361"},"_hasShrinkwrap":false,"publish_time":1601405077465,"_cnpm_publish_time":1601405077465,"_cnpmcore_publish_time":"2021-12-16T19:31:24.115Z"},"0.0.1":{"name":"critters","version":"0.0.1","description":"","main":"lib/critters.js","module":"lib/critters.mjs","source":"index.js","scripts":{"build":"microbundle","test":"jest"},"eslintConfig":{"extends":"eslint-config-developit"},"keywords":[],"author":"","license":"apache-2.0","devDependencies":{"eslint":"^4.19.1","eslint-config-developit":"^1.1.1","jest":"^22.4.3","microbundle":"^0.4.4"},"_id":"critters@0.0.1","_npmVersion":"5.7.1","_nodeVersion":"8.9.4","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"e92e6d053cf128d3fd78eda444e8c6ef8a888fdf","size":384,"noattachment":false,"key":"/critters/-/critters-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/critters/download/critters-0.0.1.tgz"},"maintainers":[{"name":"alan.agius4","email":""},{"name":"developit","email":"jason@developit.ca"},{"name":"janicklas-ralph","email":"janicklasralph036@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/critters_0.0.1_1522759934634_0.1146407254076649"},"_hasShrinkwrap":false,"publish_time":1522759935065,"_cnpm_publish_time":1522759935065,"_cnpmcore_publish_time":"2021-12-16T19:31:24.323Z"}},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/J0jv1Sz.png\" width=\"240\" height=\"240\" alt=\"critters\">\n  <h1 align=\"center\">Critters</h1>\n</p>\n\n> Critters is a plugin that inlines your app's [critical CSS] and lazy-loads the rest.\n\n## critters [![npm](https://img.shields.io/npm/v/critters.svg)](https://www.npmjs.org/package/critters)\n\nIt's a little different from [other options](#similar-libraries), because it **doesn't use a headless browser** to render content. This tradeoff allows Critters to be very **fast and lightweight**. It also means Critters inlines all CSS rules used by your document, rather than only those needed for above-the-fold content. For alternatives, see [Similar Libraries](#similar-libraries).\n\nCritters' design makes it a good fit when inlining critical CSS for prerendered/SSR'd Single Page Applications. It was developed to be an excellent compliment to [prerender-loader](https://github.com/GoogleChromeLabs/prerender-loader), combining to dramatically improve first paint time for most Single Page Applications.\n\n## Features\n\n- Fast - no browser, few dependencies\n- Integrates with Webpack [critters-webpack-plugin]\n- Supports preloading and/or inlining critical fonts\n- Prunes unused CSS keyframes and media queries\n- Removes inlined CSS rules from lazy-loaded stylesheets\n\n## Installation\n\nFirst, install Critters as a development dependency:\n\n```sh\nnpm i -D critters\n```\n\nor\n\n```sh\nyarn add -D critters\n```\n\n## Simple Example\n\n```js\nimport Critters from 'critters';\n\nconst critters = new Critters({\n  // optional configuration (see below)\n});\n\nconst html = `\n  <style>\n    .red { color: red }\n    .blue { color: blue }\n  </style>\n  <div class=\"blue\">I'm Blue</div>\n`;\n\nconst inlined = await critters.process(html);\n\nconsole.log(inlined);\n// \"<style>.blue{color:blue}</style><div class=\\\"blue\\\">I'm Blue</div>\"\n```\n\n## Usage with webpack\n\nCritters is also available as a Webpack plugin called [critters-webpack-plugin](https://www.npmjs.org/package/critters-webpack-plugin). [![npm](https://img.shields.io/npm/v/critters-webpack-plugin.svg)](https://www.npmjs.org/package/critters-webpack-plugin)\n\nThe Webpack plugin supports the same configuration options as the main `critters` package:\n\n```diff\n// webpack.config.js\n+const Critters = require('critters-webpack-plugin');\n\nmodule.exports = {\n  plugins: [\n+    new Critters({\n+      // optional configuration\n+      preload: 'swap',\n+      includeSelectors: [/^\\.btn/, '.banner'],\n+    })\n  ]\n}\n```\n\nThat's it! The resultant html will have its critical CSS inlined and the stylesheets lazy-loaded.\n\n## Usage\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n### Critters\n\nAll optional. Pass them to `new Critters({ ... })`.\n\n#### Parameters\n\n- `options`\n\n#### Properties\n\n- `path` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Base path location of the CSS files _(default: `''`)_\n- `publicPath` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Public path of the CSS resources. This prefix is removed from the href _(default: `''`)_\n- `external` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Inline styles from external stylesheets _(default: `true`)_\n- `inlineThreshold` **[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Inline external stylesheets smaller than a given size _(default: `0`)_\n- `minimumExternalSize` **[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** If the non-critical external stylesheet would be below this size, just inline it _(default: `0`)_\n- `pruneSource` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Remove inlined rules from the external stylesheet _(default: `false`)_\n- `mergeStylesheets` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Merged inlined stylesheets into a single `<style>` tag _(default: `true`)_\n- `additionalStylesheets` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** Glob for matching other stylesheets to be used while looking for critical CSS.\n- `reduceInlineStyles` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Option indicates if inline styles should be evaluated for critical CSS. By default inline style tags will be evaluated and rewritten to only contain critical CSS. Set it to `false` to skip processing inline styles. _(default: `true`)_\n- `preload` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Which [preload strategy](#preloadstrategy) to use\n- `noscriptFallback` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Add `<noscript>` fallback to JS-based strategies\n- `inlineFonts` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Inline critical font-face rules _(default: `false`)_\n- `preloadFonts` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Preloads critical fonts _(default: `true`)_\n- `fonts` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Shorthand for setting `inlineFonts` + `preloadFonts`\\* Values:\n  - `true` to inline critical font-face rules and preload the fonts\n  - `false` to don't inline any font-face rules and don't preload fonts\n- `keyframes` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Controls which keyframes rules are inlined.\\* Values:\n  - `\"critical\"`: _(default)_ inline keyframes rules used by the critical CSS\n  - `\"all\"` inline all keyframes rules\n  - `\"none\"` remove all keyframes rules\n- `compress` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Compress resulting critical CSS _(default: `true`)_\n- `logLevel` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Controls [log level](#loglevel) of the plugin _(default: `\"info\"`)_\n- `logger` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** Provide a custom logger interface [logger](#logger)\n- `includeSelectors` **[RegExp](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)** | **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Provide a list of selectors that should be included in the critical CSS. Accepts both RegExp and string.\n\n### Include/exclude rules\n\nWe can include or exclude rules to be part of critical CSS by adding comments in the CSS\n\nSingle line comments to include/exclude the next CSS rule\n\n```css\n/* critters:exclude */\n.selector1 {\n  /* this rule will be excluded from critical CSS */\n}\n\n.selector2 {\n  /* this will be evaluated normally */\n}\n\n/* critters:include */\n.selector3 {\n  /* this rule will be included in the critical CSS */\n}\n\n.selector4 {\n  /* this will be evaluated normally */\n}\n```\n\nIncluding/Excluding multiple rules by adding start and end markers\n\n```css\n/* critters:exclude start */\n\n.selector1 {\n  /* this rule will be excluded from critical CSS */\n}\n\n.selector2 {\n  /* this rule will be excluded from critical CSS */\n}\n\n/* critters:exclude end */\n```\n\n```css\n/* critters:include start */\n\n.selector3 {\n  /* this rule will be included in the critical CSS */\n}\n\n.selector4 {\n  /* this rule will be included in the critical CSS */\n}\n\n/* critters:include end */\n```\n\n### Critters container\n\nBy default Critters evaluates the CSS against the entire input HTML. Critters evaluates the Critical CSS by reconstructing the entire DOM and evaluating the CSS selectors to find matching nodes. Usually this works well as Critters is lightweight and fast.\n\nFor some cases, the input HTML can be very large or deeply nested which makes the reconstructed DOM much larger, which in turn can slow down the critical CSS generation. Critters is not aware of viewport size and what specific nodes are above the fold since there is not a headless browser involved.\n\nTo overcome this issue Critters makes use of **Critters containers**.\n\nA Critters container mimics the viewport and can be enabled by adding `data-critters-container` into the top level container thats contains the HTML elements above the fold.\n\nYou can estimate the contents of your viewport roughly and add a <div `data-critters-container` > around the contents.\n\n```html\n<html>\n  <body>\n    <div class=\"container\">\n      <div data-critters-container>\n        /* HTML inside this container are used to evaluate critical CSS */\n      </div>\n      /* HTML is ignored when evaluating critical CSS */\n    </div>\n    <footer></footer>\n  </body>\n</html>\n```\n\n_Note: This is an easy way to improve the performance of Critters_\n\n### Logger\n\nCustom logger interface:\n\nType: [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)\n\n#### Properties\n\n- `trace` **function ([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** Prints a trace message\n- `debug` **function ([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** Prints a debug message\n- `info` **function ([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** Prints an information message\n- `warn` **function ([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** Prints a warning message\n- `error` **function ([String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** Prints an error message\n\n### LogLevel\n\nControls log level of the plugin. Specifies the level the logger should use. A logger will\nnot produce output for any log level beneath the specified level. Available levels and order\nare:\n\n- **\"info\"** _(default)_\n- **\"warn\"**\n- **\"error\"**\n- **\"trace\"**\n- **\"debug\"**\n- **\"silent\"**\n\nType: (`\"info\"` | `\"warn\"` | `\"error\"` | `\"trace\"` | `\"debug\"` | `\"silent\"`)\n\n### PreloadStrategy\n\nThe mechanism to use for lazy-loading stylesheets.\n\nNote: <kbd>JS</kbd> indicates a strategy requiring JavaScript (falls back to `<noscript>` unless disabled).\n\n- **default:** Move stylesheet links to the end of the document and insert preload meta tags in their place.\n- **\"body\":** Move all external stylesheet links to the end of the document.\n- **\"media\":** Load stylesheets asynchronously by adding `media=\"not x\"` and removing once loaded. <kbd>JS</kbd>\n- **\"swap\":** Convert stylesheet links to preloads that swap to `rel=\"stylesheet\"` once loaded ([details](https://www.filamentgroup.com/lab/load-css-simpler/#the-code)). <kbd>JS</kbd>\n- **\"swap-high\":** Use `<link rel=\"alternate stylesheet preload\">` and swap to `rel=\"stylesheet\"` once loaded ([details](http://filamentgroup.github.io/loadCSS/test/new-high.html)). <kbd>JS</kbd>\n- **\"js\":** Inject an asynchronous CSS loader similar to [LoadCSS](https://github.com/filamentgroup/loadCSS) and use it to load stylesheets. <kbd>JS</kbd>\n- **\"js-lazy\":** Like `\"js\"`, but the stylesheet is disabled until fully loaded.\n- **false:** Disables adding preload tags.\n\nType: (default | `\"body\"` | `\"media\"` | `\"swap\"` | `\"swap-high\"` | `\"js\"` | `\"js-lazy\"`)\n\n## Similar Libraries\n\nThere are a number of other libraries that can inline Critical CSS, each with a slightly different approach. Here are a few great options:\n\n- [Critical](https://github.com/addyosmani/critical)\n- [Penthouse](https://github.com/pocketjoso/penthouse)\n- [webpack-critical](https://github.com/lukeed/webpack-critical)\n- [webpack-plugin-critical](https://github.com/nrwl/webpack-plugin-critical)\n- [html-critical-webpack-plugin](https://github.com/anthonygore/html-critical-webpack-plugin)\n- [react-snap](https://github.com/stereobooster/react-snap)\n\n## License\n\n[Apache 2.0](LICENSE)\n\nThis is not an official Google product.\n\n[critters-webpack-plugin]: https://github.com/GoogleChromeLabs/critters/tree/main/packages/critters-webpack-plugin\n[critical css]: https://www.smashingmagazine.com/2015/08/understanding-critical-css/\n[html-webpack-plugin]: https://github.com/jantimon/html-webpack-plugin\n","_attachments":{},"homepage":"https://github.com/GoogleChromeLabs/critters#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/critters/issues"},"license":"Apache-2.0"}