{"_id":"beasties","_rev":"19-54f4cd6bb7f4bc905c9ae25ea7956d30","name":"beasties","dist-tags":{"latest":"0.5.4"},"versions":{"0.0.0":{"name":"beasties","version":"0.0.0","author":{"name":"Daniel Roe","email":"daniel@roe.dev"},"_id":"beasties@0.0.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"dist":{"shasum":"7070b135f27329725d0ef675b3a08d213d40570f","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.0.0.tgz","fileCount":2,"integrity":"sha512-HeNf96Wqkb3XanNND+Kn8j7ZthTB75AupfXqR2fDiFve1f7Mj3f2ipexlQerFIAn5PlCzyI2AcEiHvUmcPk3nA==","signatures":[{"sig":"MEUCIQChMjGPRxZ9u+gI8SX4YxMGWrzVKh9gFDNh1SFE1paOIgIgLxV7nFrxWPZQ7bxJLEv/tArKJlwqrNHNjTZ7Qy5+M54=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":118},"gitHead":"1c6cbe18ba5e4016051153921f7c279ae6829d58","_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_npmVersion":"10.7.0","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/beasties_0.0.0_1729859060441_0.5483078520933289","host":"s3://npm-registry-packages"}},"0.0.26":{"name":"beasties","version":"0.0.26","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.0.26","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"b21e8e33cac2989cc313f918cceb349df6cad170","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.0.26.tgz","fileCount":10,"integrity":"sha512-LlSWTlvFmhISUalsW5nXsAZMxPeEiXqh3dyYOEBSAC/YmPMb4Wmfv0vaGZZjYFaMjS/o3/W0B4+NC3c/q5CN1Q==","signatures":[{"sig":"MEQCIHbL5/VSnfJiJfEfcc7BjP2nytJJnAs1Ro0J/xz7dgGgAiA3v/cCF0M1o478Yb+euKVpW3OOdKTgM+L/KhuzQdUWfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166065},"main":"dist/beasties.js","module":"dist/beasties.mjs","source":"src/index.js","exports":{"import":"./dist/beasties.mjs","default":"./dist/beasties.mjs","require":"./dist/beasties.js"},"gitHead":"bd9ebe2a4dfd494a5ceb2569a5222917e54716a9","scripts":{"docs":"documentation readme -q --no-markdown-toc -a public -s Usage --sort-order alpha src","build":"microbundle --target node --no-sourcemap -f cjs,esm","prepare":"npm run -s build"},"typings":"src/index.d.ts","_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.2.3","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"chalk":"^4.1.0","postcss":"^8.4.23","css-select":"^5.1.0","domhandler":"^5.0.2","htmlparser2":"^8.0.2","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"microbundle":"^0.12.3","documentation":"^13.0.2"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.0.26_1729888786439_0.430477220367971","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"beasties","version":"0.1.0","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.1.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"f8f8ba22ff79c86f4dcebe50527cefdf9f0d52c4","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.1.0.tgz","fileCount":8,"integrity":"sha512-+Ssscd2gVG24qRNC+E2g88D+xsQW4xwakWtKAiGEQ3Pw54/FGdyo9RrfxhGhEv6ilFVbB7r3Lgx+QnAxnSpECw==","signatures":[{"sig":"MEQCIHpKVcd6eE3ySTBt/s+j3TA0aded5r68X8Sl/8izHDZ6AiBBsKMQad77YHiGX7miUHLHTTCUB+lamH7GMuTp0u0M8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":88575},"main":"dist/index.cjs","_from":"file:beasties-0.1.0.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && cp src/index.d.ts dist/index.d.ts","build:stub":"unbuild --stub && cp src/index.d.ts dist/index.d.ts"},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/b96ca71d970d255ff2cdcb73b1a44b65/beasties-0.1.0.tgz","_integrity":"sha512-+Ssscd2gVG24qRNC+E2g88D+xsQW4xwakWtKAiGEQ3Pw54/FGdyo9RrfxhGhEv6ilFVbB7r3Lgx+QnAxnSpECw==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.2.3","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"postcss":"^8.4.47","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^9.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"2.0.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.1.0_1729955650224_0.9663130537547466","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"beasties","version":"0.2.0","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.2.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"bc418d3b797fbe40cd93923d31cc8d3597d19c94","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.2.0.tgz","fileCount":8,"integrity":"sha512-Ljqskqx/tbZagIglYoJIMzH5zgssyp+in9+9sAyh15N22AornBeIDnb8EZ6Rk+6ShfMxd92uO3gfpT0NtZbpow==","signatures":[{"sig":"MEUCIGJSTBtAx9B7jbTpI7PjwmufPedLm/8GNqgNmYO41/67AiEAi44jVcMRh/OeiOIv1MxRjDHpUoZs78mXwt7OA4rp5ow=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92228},"main":"dist/index.cjs","_from":"file:beasties-0.2.0.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/2575c090ab6c105b97c2819c1104873f/beasties-0.2.0.tgz","_integrity":"sha512-Ljqskqx/tbZagIglYoJIMzH5zgssyp+in9+9sAyh15N22AornBeIDnb8EZ6Rk+6ShfMxd92uO3gfpT0NtZbpow==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.8.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^9.1.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"2.0.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.2.0_1733436296735_0.040252077917083406","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"beasties","version":"0.3.0","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"fbb23a59f3cecaaaed4d654da5ae7ce507e3c88d","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.0.tgz","fileCount":8,"integrity":"sha512-hqBpZr/f8KhSv6Q6w1awSWVZgS1Ddij2+NVr41/SSBg+0lmFUfuT4ierIRKADv8Top8BUZUtpzND+iMSgMtJUA==","signatures":[{"sig":"MEQCIEkYbCdyY8tSGdGHO0ILjC123/YA29kcsplr3A/GmEdMAiA/vgUik46crgw9MUlgbIPTP4AhSbw1ZEj4x7D6Y9ASwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93741},"main":"dist/index.cjs","_from":"file:beasties-0.3.0.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/415ee9bb72c0d6be695b02413c304c4e/beasties-0.3.0.tgz","_integrity":"sha512-hqBpZr/f8KhSv6Q6w1awSWVZgS1Ddij2+NVr41/SSBg+0lmFUfuT4ierIRKADv8Top8BUZUtpzND+iMSgMtJUA==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.9.0","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.0_1743981825720_0.4314120330152571","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"beasties","version":"0.3.1","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"bcc8f7e1e32395eaaacd5c2b42114aff6dc221e0","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.1.tgz","fileCount":8,"integrity":"sha512-OOsYX+ry92cBMi1IMW9kljReuTvywsqDfbxGiRqHYotu6anq02tz3bSQ3UfxbLfRZqSNVy3ywpe8BMyIBvY9zg==","signatures":[{"sig":"MEYCIQDWusvVQskVYCXlGlvJlW1wLo15KPpuKszy+BlNRwVSxAIhAJqc+SrwISmPAqSZJ1nugBDiv6w5y3UkDWUAhkv0yXyr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":93739},"main":"dist/index.cjs","_from":"file:beasties-0.3.1.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/1b72bc3455b2599b1b7fac604437eaf7/beasties-0.3.1.tgz","_integrity":"sha512-OOsYX+ry92cBMi1IMW9kljReuTvywsqDfbxGiRqHYotu6anq02tz3bSQ3UfxbLfRZqSNVy3ywpe8BMyIBvY9zg==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.9.0","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.1_1743983873071_0.04895137518917436","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"beasties","version":"0.3.2","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.2","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"c0f7ed1362dff0ee8f9c448bcd1b1d6fe16cc609","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.2.tgz","fileCount":8,"integrity":"sha512-p4AF8uYzm9Fwu8m/hSVTCPXrRBPmB34hQpHsec2KOaR9CZmgoU8IOv4Cvwq4hgz2p4hLMNbsdNl5XeA6XbAQwA==","signatures":[{"sig":"MEQCIA/O9MCNJph0Mtbl4HT2d7h6wNE2YnQiFZbuyP09Gb7EAiAxphHTaMqyyLy5mFrz59iVku8e3F1nLC9fPPsDlxryBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94491},"main":"dist/index.cjs","_from":"file:beasties-0.3.2.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/9743b2d0e5095ff4cfbc45385b712ef2/beasties-0.3.2.tgz","_integrity":"sha512-p4AF8uYzm9Fwu8m/hSVTCPXrRBPmB34hQpHsec2KOaR9CZmgoU8IOv4Cvwq4hgz2p4hLMNbsdNl5XeA6XbAQwA==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.9.0","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.2_1744049791801_0.561880381162817","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"beasties","version":"0.3.3","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.3","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"7ce042d03a257186fd251c6cb1e2a315b11284b7","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.3.tgz","fileCount":8,"integrity":"sha512-Mba3V4hTPrM7P2CSidueg71JZ0G+DyK7maBqp4/uax/PQznwdFti9cOW6Z3lTxBRH84kRICN0TyQ0MSSmufaAw==","signatures":[{"sig":"MEYCIQCtbBWY4Tpqa8wNJh11ndYM3YNrRIl90pF3bBhJVaIJ4AIhANwYoThk+zDmfASuwXznVtFDViBABoXG+CRDDXn7nOQ0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94687},"main":"dist/index.cjs","_from":"file:beasties-0.3.3.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/f7203f126cb17424a4324a425df03661/beasties-0.3.3.tgz","_integrity":"sha512-Mba3V4hTPrM7P2CSidueg71JZ0G+DyK7maBqp4/uax/PQznwdFti9cOW6Z3lTxBRH84kRICN0TyQ0MSSmufaAw==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.9.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.3_1745233458575_0.7287454172022734","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"beasties","version":"0.3.4","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.4","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"a2268bd84ee9b51b0a89d208f768e93b7be5ee63","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.4.tgz","fileCount":8,"integrity":"sha512-NmzN1zN1cvGccXFyZ73335+ASXwBlVWcUPssiUDIlFdfyatHPRRufjCd5w8oPaQPvVnf9ELklaCGb1gi9FBwIw==","signatures":[{"sig":"MEUCIAa/wAV80d9h4FbFVOST1OGjnQpp3IlYm6ZYtYzgfyfJAiEArfp0PL2r6G8hcqHGi6ZMv/6nwmkTR7KkEhKkVhA2aWE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94801},"main":"dist/index.cjs","_from":"file:beasties-0.3.4.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","email":"daniel@roe.dev"},"_resolved":"/private/var/folders/48/0bsggqvn049_nfcq7msw2njw0000gn/T/028898991118709812aeec7134499b82/beasties-0.3.4.tgz","_integrity":"sha512-NmzN1zN1cvGccXFyZ73335+ASXwBlVWcUPssiUDIlFdfyatHPRRufjCd5w8oPaQPvVnf9ELklaCGb1gi9FBwIw==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"10.9.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"postcss":"^8.4.49","css-what":"^6.1.0","css-select":"^5.1.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.4_1747843124692_0.03984434391531355","host":"s3://npm-registry-packages-npm-production"}},"0.3.5":{"name":"beasties","version":"0.3.5","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.3.5","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"a52abea4ead105c1aded66b1a01a74e96585dc81","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.3.5.tgz","fileCount":8,"integrity":"sha512-NaWu+f4YrJxEttJSm16AzMIFtVldCvaJ68b1L098KpqXmxt9xOLtKoLkKxb8ekhOrLqEJAbvT6n6SEvB/sac7A==","signatures":[{"sig":"MEQCIG1eG3qWW57oprTrrF8M8voNqhQoqgmf/phGxTC5NhGtAiAteABY51yuuQ9bFkVk5FbQwDC0e2yj8DXa6MHFwx4Nxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":96081},"main":"dist/index.cjs","_from":"file:beasties-0.3.5.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=14.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"danielroe","actor":{"name":"danielroe","type":"user","email":"daniel@roe.dev"},"email":"daniel@roe.dev"},"_resolved":"/private/var/folders/6z/46zhtr8n22zg8nh3bp7cq7c40000gn/T/334d2a540d378a4318ffac434d381b4d/beasties-0.3.5.tgz","_integrity":"sha512-NaWu+f4YrJxEttJSm16AzMIFtVldCvaJ68b1L098KpqXmxt9xOLtKoLkKxb8ekhOrLqEJAbvT6n6SEvB/sac7A==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"11.3.0","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.0.2","dependencies":{"postcss":"^8.4.49","css-what":"^7.0.0","css-select":"^6.0.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.5.0","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.3.5_1751973949014_0.21699141199508132","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"beasties","version":"0.4.0","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.4.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"e17015df70de3af22db1a43c2c23d609bc4e99c4","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.4.0.tgz","fileCount":8,"integrity":"sha512-PPlV0h4hHCjXLIL92saq2kRodoxunksRCuQTTyWY7+uqkErFW4xq5fvHXus1wFyHpow0Xg9fbHr5QiUoRaXORA==","signatures":[{"sig":"MEUCIQDb21raL7r/Mpt9FHq7KVofp27uXRqaUZIuFgrRHomPmwIgR+ACfXU6zmhX4WHTobvbt7Odx5PJBGkspeOXHDXS9lQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":138775},"main":"dist/index.cjs","_from":"file:beasties-0.4.0.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:62fba4a9-c350-4326-a1ce-bc69bbc8981d"}},"_resolved":"/tmp/506b62082b18119b8d18245fc0a85f8f/beasties-0.4.0.tgz","_integrity":"sha512-PPlV0h4hHCjXLIL92saq2kRodoxunksRCuQTTyWY7+uqkErFW4xq5fvHXus1wFyHpow0Xg9fbHr5QiUoRaXORA==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"11.6.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"postcss":"^8.4.49","css-what":"^7.0.0","css-select":"^6.0.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.6.1","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.4.0_1768925612354_0.6487294372072883","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"beasties","version":"0.4.1","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.4.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"5c0cc2a89ba3b329d2e75fdd2e494ad661fdd954","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.4.1.tgz","fileCount":8,"integrity":"sha512-2Imdcw3LznDuxAbJM26RHniOLAzE6WgrK8OuvVXCQtNBS8rsnD9zsSEa3fHl4hHpUY7BYTlrpvtPVbvu9G6neg==","signatures":[{"sig":"MEQCIE0D2hGemIQrEiaFXzfBBXHrx71Or6+5bJQV9MIao1oJAiBNpAK54CNATa05HNxVbSwK4Pc54zcgogTAvnmwjBpY1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":139143},"main":"dist/index.cjs","_from":"file:beasties-0.4.1.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:62fba4a9-c350-4326-a1ce-bc69bbc8981d"}},"_resolved":"/tmp/1677939125e01d6d4947d716b3aa2b78/beasties-0.4.1.tgz","_integrity":"sha512-2Imdcw3LznDuxAbJM26RHniOLAzE6WgrK8OuvVXCQtNBS8rsnD9zsSEa3fHl4hHpUY7BYTlrpvtPVbvu9G6neg==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"11.6.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"postcss":"^8.4.49","css-what":"^7.0.0","css-select":"^6.0.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.6.1","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.4.1_1769079255230_0.3741666950407181","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"beasties","version":"0.4.2","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.4.2","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"2e2eab4bda4017e3bc2c5f91c8d69cb3f456d6bf","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.4.2.tgz","fileCount":8,"integrity":"sha512-NvcGjG/7AVUAfRbvrJmHunDQS9uHnE6Q/7AkaPr8oKE8HjOlpjRG5075z/th2Tmlezk3VlaaS8+X9I1RwHJMQw==","signatures":[{"sig":"MEUCIDzYawZxCorJkjeVQI1BfiCxY9WHccp2SBCZ6HGEk2shAiEAnF2SHEwknXzOnuR9t0qQCSQazN5q/2r6WM6lW2cdmtU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":140065},"main":"dist/index.cjs","_from":"file:beasties-0.4.2.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:62fba4a9-c350-4326-a1ce-bc69bbc8981d"}},"_resolved":"/tmp/929cdea4d79ed8e1625f596cfdfc7477/beasties-0.4.2.tgz","_integrity":"sha512-NvcGjG/7AVUAfRbvrJmHunDQS9uHnE6Q/7AkaPr8oKE8HjOlpjRG5075z/th2Tmlezk3VlaaS8+X9I1RwHJMQw==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"11.11.0","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"postcss":"^8.4.49","css-what":"^7.0.0","css-select":"^6.0.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.6.1","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.4.2_1775638965655_0.9540827360536033","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"beasties","version":"0.4.3","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.4.3","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"987fc0d31126186de723e43858cfa235f530e87a","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.4.3.tgz","fileCount":8,"integrity":"sha512-fIIeLOcbAB/K1kb1HBVJoiq1alHL4RCYBSo5e7HzrNkkgMggXR1Vqt/Z9JWnkfe/qdCo66Ux3QRwZioAIBdWRA==","signatures":[{"sig":"MEUCIGPdUjn4/GSlgIrKhBMl3FU7B6/x3S1HGZnlnWQsBR+SAiEAgTD+EYVKeHhHvbR7kSG4GzScVhq5SD26p3qr3D6oPpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":142324},"main":"dist/index.cjs","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.4.3.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"unbuild && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\"","build:stub":"unbuild --stub && node -e \"require('fs/promises').cp('src/index.d.ts', 'dist/index.d.ts')\""},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"danielroe","email":"daniel@roe.dev"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"}},"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.4.3.tgz","_integrity":"sha512-fIIeLOcbAB/K1kb1HBVJoiq1alHL4RCYBSo5e7HzrNkkgMggXR1Vqt/Z9JWnkfe/qdCo66Ux3QRwZioAIBdWRA==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.1","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"postcss":"^8.4.49","css-what":"^7.0.0","css-select":"^6.0.0","domhandler":"^5.0.3","picocolors":"^1.1.1","htmlparser2":"^10.0.0","dom-serializer":"^2.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"unbuild":"3.6.1","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.4"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.4.3_1784020947781_0.9818801695632422","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"beasties","version":"0.5.0","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.5.0","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"e41b9f94a0482f02ee67f7a1d48f8091453af9e9","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.5.0.tgz","fileCount":12,"integrity":"sha512-v515j90KEov9pGVORroYSJa2kbHXxkqmsN+L9eVaXMVta0Z3JQ58W4fgk1Zm2ufuEZj38IEQ3HpAEMSyQyVjBw==","signatures":[{"sig":"MEQCIBXaNnB8Bxf/j/zzxycpI0N1CPcpRO/qXshm4sNr4woZAiBShE0puD1auxzW0RpQDsfkxOHOUKJyzO73FJ6UYkyc9Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":175066},"main":"dist/index.cjs","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.5.0.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./runtime":"./dist/runtime.mjs","./compiler":"./dist/compiler.mjs"},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"danielroe","email":"daniel@roe.dev"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"}},"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.5.0.tgz","_integrity":"sha512-v515j90KEov9pGVORroYSJa2kbHXxkqmsN+L9eVaXMVta0Z3JQ58W4fgk1Zm2ufuEZj38IEQ3HpAEMSyQyVjBw==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"postcss":"^8.4.49","css-what":"^8.0.0","css-select":"^7.0.0","domhandler":"^6.0.0","picocolors":"^1.1.1","htmlparser2":"^12.0.0","dom-serializer":"^3.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.5.0_1788335647733_0.24672293023798475","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"beasties","version":"0.5.1","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.5.1","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"171a9c5f01a4153f1c4804fd3a06151627a1593a","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.5.1.tgz","fileCount":12,"integrity":"sha512-7zL5Vwme8+RoQRfOHK3QGemC4OtmO3bERHm+G6zUFHT34NmNuiZ2Fw1LoSF7x4Tmlfym2XDv/cyCghc0M4/x6A==","signatures":[{"sig":"MEUCIQCX8VzLUHvcqFC6obXwYozHOnBWKPsG3Xf2aRBqmW0w8QIgP/wwBN4eUJR2s7Nc/Mo+xh9QQ5N6ToE+KCk80ApOxOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":175117},"main":"dist/index.cjs","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.5.1.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./runtime":"./dist/runtime.mjs","./compiler":"./dist/compiler.mjs"},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"danielroe","email":"daniel@roe.dev"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"}},"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.5.1.tgz","_integrity":"sha512-7zL5Vwme8+RoQRfOHK3QGemC4OtmO3bERHm+G6zUFHT34NmNuiZ2Fw1LoSF7x4Tmlfym2XDv/cyCghc0M4/x6A==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"postcss":"^8.4.49","css-what":"^8.0.0","css-select":"^7.0.0","domhandler":"^6.0.0","picocolors":"^1.1.1","htmlparser2":"^12.0.0","dom-serializer":"^3.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.5.1_1788352208805_0.42706839147414266","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"beasties","version":"0.5.2","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.5.2","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"64f771d8a9695603727fffbe145deb50228c281d","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.5.2.tgz","fileCount":12,"integrity":"sha512-S6IQRZ8h9lUaNr6TXbJHF3tJPwHBBmm2UqYKts5fDC1TfSN1DkWkLoi2XiRW8v04Kop9pdT4cZdQq0VY8KoNZg==","signatures":[{"sig":"MEQCICvGrDPl+TJ8iorWYv4bS8Fic8wxVrWg89lEg3mDFJLJAiBN5jtAdB4FW3BIBUF5H0HjNv4Wyoqx343cQTC1sftHwQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":179682},"main":"dist/index.cjs","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.5.2.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./runtime":"./dist/runtime.mjs","./compiler":"./dist/compiler.mjs"},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"danielroe","email":"daniel@roe.dev"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"}},"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.5.2.tgz","_integrity":"sha512-S6IQRZ8h9lUaNr6TXbJHF3tJPwHBBmm2UqYKts5fDC1TfSN1DkWkLoi2XiRW8v04Kop9pdT4cZdQq0VY8KoNZg==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"postcss":"^8.4.49","css-what":"^8.0.0","css-select":"^7.0.0","domhandler":"^6.0.0","picocolors":"^1.1.1","htmlparser2":"^12.0.0","dom-serializer":"^3.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.5.2_1788359070595_0.7208770916822544","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"beasties","version":"0.5.3","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"beasties@0.5.3","maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"homepage":"https://github.com/danielroe/beasties#readme","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"5527ee01324634e24bfdecfe0a3b648531cd03e9","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.5.3.tgz","fileCount":12,"integrity":"sha512-9di0U5+RQ5C4cCDbrfZGE78tnSYxpXlOughS2ei4g2q6L5OswNqlm17HFWHqszjAsQzBEuQQ6sqykWfiTpV43g==","signatures":[{"sig":"MEUCIQDLOFKDhx7iFvHc16qBDSNYW1uA3ywwZVbwq8QArIhcsAIgH7EL2W5tgHEB/GvLCytG2OnaO5xAwKA3sR2RjJFYggQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.5.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":179902},"main":"dist/index.cjs","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.5.3.tgz","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./runtime":"./dist/runtime.mjs","./compiler":"./dist/compiler.mjs"},"scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"tsdown"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","approver":{"name":"danielroe","email":"daniel@roe.dev"},"trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"}},"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.5.3.tgz","_integrity":"sha512-9di0U5+RQ5C4cCDbrfZGE78tnSYxpXlOughS2ei4g2q6L5OswNqlm17HFWHqszjAsQzBEuQQ6sqykWfiTpV43g==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"postcss":"^8.4.49","css-what":"^8.0.0","css-select":"^7.0.0","domhandler":"^6.0.0","picocolors":"^1.1.1","htmlparser2":"^12.0.0","dom-serializer":"^3.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"0.22.14","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.5"},"_npmOperationalInternal":{"tmp":"tmp/beasties_0.5.3_1788373407310_0.595230033406497","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"_id":"beasties@0.5.4","bugs":{"url":"https://github.com/danielroe/beasties/issues"},"dist":{"shasum":"e839a5dc476271e55ea7f4187e4175049211ce54","tarball":"https://registry.npmjs.org/beasties/-/beasties-0.5.4.tgz","integrity":"sha512-8/lOOjT+PElYCnaUbmhgd3Uad5R1VTQ4Wg0k4rK8bX04m5WEqHNmnlLy3Q/lJ7dk25XA+72gayzc/skTfKKpcA==","fileCount":12,"unpackedSize":205173,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/beasties@0.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICWoRIMHleC4pUoqSIyLbzM5+kr10H7vBuNMyuYEoI5UAiEAkkWVy42hnZMT8iEBsSQ8TRdfxkPDuHDzKM8ZJUKb7OU="}]},"main":"dist/index.cjs","name":"beasties","_from":"file:/home/runner/work/_temp/uppt-tarballs/beasties-0.5.4.tgz","types":"./dist/index.d.ts","author":{"name":"The Chromium Authors"},"module":"dist/index.mjs","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","default":"./dist/index.mjs","require":"./dist/index.cjs"},"./runtime":"./dist/runtime.mjs","./compiler":"./dist/compiler.mjs"},"license":"Apache-2.0","scripts":{"docs":"documentation readme src -q --no-markdown-toc -a public -s Usage --sort-order alpha","build":"tsdown"},"version":"0.5.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ceb53ed7-40e0-47bd-8b15-81f62f354d15"},"approver":{"name":"danielroe","email":"daniel@roe.dev"}},"homepage":"https://github.com/danielroe/beasties#readme","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"_resolved":"/home/runner/work/_temp/uppt-tarballs/beasties-0.5.4.tgz","_integrity":"sha512-8/lOOjT+PElYCnaUbmhgd3Uad5R1VTQ4Wg0k4rK8bX04m5WEqHNmnlLy3Q/lJ7dk25XA+72gayzc/skTfKKpcA==","repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"_npmVersion":"12.0.2","description":"Inline critical CSS and lazy-load the rest.","directories":{},"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"_nodeVersion":"24.20.0","contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"dependencies":{"postcss":"^8.4.49","css-what":"^8.0.0","css-select":"^7.0.0","domhandler":"^6.0.0","picocolors":"^1.1.1","htmlparser2":"^12.0.0","dom-serializer":"^3.0.0","postcss-safe-parser":"^7.0.1","postcss-media-query-parser":"^0.2.3"},"devDependencies":{"tsdown":"0.22.14","documentation":"14.0.3","@types/postcss-media-query-parser":"0.2.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/beasties_0.5.4_1788540995126_0.9475879086153032"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-25T12:24:20.314Z","modified":"2026-09-04T16:56:35.505Z","0.0.0":"2024-10-25T12:24:20.641Z","0.0.26":"2024-10-25T20:39:46.632Z","0.1.0":"2024-10-26T15:14:10.413Z","0.2.0":"2024-12-05T22:04:57.021Z","0.3.0":"2025-04-06T23:23:45.956Z","0.3.1":"2025-04-06T23:57:53.305Z","0.3.2":"2025-04-07T18:16:32.020Z","0.3.3":"2025-04-21T11:04:18.757Z","0.3.4":"2025-05-21T15:58:44.863Z","0.3.5":"2025-07-08T11:25:49.195Z","0.4.0":"2026-01-20T16:13:32.498Z","0.4.1":"2026-01-22T10:54:15.355Z","0.4.2":"2026-04-08T09:02:45.797Z","0.4.3":"2026-07-14T09:22:27.858Z","0.5.0":"2026-09-02T07:54:07.825Z","0.5.1":"2026-09-02T12:30:08.897Z","0.5.2":"2026-09-02T14:24:30.675Z","0.5.3":"2026-09-02T18:23:27.398Z","0.5.4":"2026-09-04T16:56:35.222Z"},"bugs":{"url":"https://github.com/danielroe/beasties/issues"},"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","homepage":"https://github.com/danielroe/beasties#readme","keywords":["critical css","inline css","critical","beasties","webpack plugin","performance"],"repository":{"url":"git+https://github.com/danielroe/beasties.git","type":"git","directory":"packages/beasties"},"description":"Inline critical CSS and lazy-load the rest.","contributors":[{"name":"Jason Miller","email":"developit@google.com"},{"name":"Janicklas Ralph","email":"janicklas@google.com"},{"url":"https://roe.dev","name":"Daniel Roe","email":"daniel@roe.dev"}],"maintainers":[{"name":"danielroe","email":"daniel@roe.dev"}],"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/J0jv1Sz.png\" width=\"240\" height=\"240\" alt=\"beasties\">\n  <h1 align=\"center\">Beasties</h1>\n</p>\n\n> Beasties is a plugin that inlines your app's [critical CSS] and lazy-loads the rest. It is a maintained fork of [GoogleChromeLabs/critters](https://github.com/GoogleChromeLabs/critters)\n\n## beasties [![npm](https://npmx.dev/api/registry/badge/version/beasties)](https://www.npmjs.org/package/beasties)\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 Beasties to be very **fast and lightweight**. It also means Beasties 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\nBeasties' design makes it a good fit when inlining critical CSS for prerendered/SSR'd Single Page Applications. It was developed to be an excellent complement 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 [beasties-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 Beasties as a development dependency:\n\n```sh\nnpm i -D beasties\n```\n\nor\n\n```sh\nyarn add -D beasties\n```\n\n## Simple Example\n\n```js\nimport Beasties from 'beasties'\n\nconst beasties = new Beasties({\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 beasties.process(html)\n\nconsole.log(inlined)\n// \"<style>.blue{color:blue}</style><div class=\\\"blue\\\">I'm Blue</div>\"\n```\n\n## Usage with Vite\n\nBeasties can be used with Vite through [vite-plugin-beasties](https://www.npmjs.org/package/vite-plugin-beasties). [![npm](https://npmx.dev/api/registry/badge/version/vite-plugin-beasties)](https://www.npmjs.org/package/vite-plugin-beasties)\n\nJust add it to your Vite configuration:\n\n```js\n// vite.config.ts\nimport { defineConfig } from 'vite'\nimport { beasties } from 'vite-plugin-beasties'\n\nexport default defineConfig({\n  plugins: [\n    beasties({\n      // optional beasties configuration\n      options: {\n        preload: 'swap',\n      }\n    })\n  ]\n})\n```\n\nThe plugin will process the output for your `index.html` and inline critical CSS while lazy-loading the rest.\n\n## Usage with webpack\n\nBeasties is also available as a Webpack plugin called [beasties-webpack-plugin](https://www.npmjs.org/package/beasties-webpack-plugin). [![npm](https://npmx.dev/api/registry/badge/version/beasties-webpack-plugin)](https://www.npmjs.org/package/beasties-webpack-plugin)\n\nThe Webpack plugin supports the same configuration options as the main `beasties` package:\n\n```diff\n// webpack.config.js\n+const Beasties = require('beasties-webpack-plugin');\n\nmodule.exports = {\n  plugins: [\n+    new Beasties({\n+      // optional configuration\n+      preload: 'swap',\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### Beasties\n\nAll optional. Pass them to `new Beasties({ ... })`.\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- `remote` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Download and inline remote stylesheets (http://, https://, //) _(default: `false`)_\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- `allowRules` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [RegExp](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp)>** Always include rules matching these selectors or patterns in the critical CSS, regardless of whether they match elements in the document. _(default: `[]`)_\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- `nonce` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function)** CSP nonce to set on every `<style>` and `<script>` element beasties injects, or a function called once per document to derive it\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\n  A font is critical when the critical CSS declares its family, and, for a face with a `unicode-range`, when the document's text contains a character that face covers. Faces of unused families and unused subsets are neither inlined nor preloaded; they still load with the deferred stylesheet.\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- `safeParser` **[Boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** Use PostCSS safe parser for fault-tolerant CSS parsing. Handles legacy code with syntax errors _(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- `dedupeWarnings` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Suppress repeated identical warnings and errors, either `\"process\"`-wide (within a one minute window), per `\"instance\"`, or `false` to emit every message _(default: `\"process\"`)_\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/* beasties: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/* beasties: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/* beasties: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/* beasties:exclude end */\n```\n\n```css\n/* beasties: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/* beasties:include end */\n```\n\nThe supported directives are `beasties:include`, `beasties:exclude`, `beasties:include start`, `beasties:include end`, `beasties:exclude start` and `beasties:exclude end`.\n\nThe `critters:` prefix (from the project beasties was forked from) is still accepted as a deprecated alias and logs a warning. Comments which look like a directive but aren't recognised, such as `/* beasties:inclde */` or `/* critter:include */`, also log a warning rather than being silently ignored.\n\n### Programmatically including rules with allowRules\n\nIn addition to comment-based inclusion, you can use the `allowRules` option to programmatically include specific selectors or patterns in the critical CSS, regardless of whether they match elements in the document. This is useful for cases where you know certain styles should always be included.\n\n```js\nconst beasties = new Beasties({\n  // Always include these selectors in critical CSS\n  allowRules: [\n    // Exact selector match\n    '.always-include',\n    // Regular expression pattern\n    /^\\.modal-/\n  ]\n})\n```\n\nWith this configuration, any CSS rules with selectors that match `.always-include` exactly or start with `.modal-` will be included in the critical CSS, even if no matching elements exist in the document.\n\n### Beasties container\n\nBy default Beasties evaluates the CSS against the entire input HTML. Beasties evaluates the Critical CSS by reconstructing the entire DOM and evaluating the CSS selectors to find matching nodes. Usually this works well as Beasties 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. Beasties 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 Beasties makes use of **Beasties containers**.\n\nA Beasties container mimics the viewport and can be enabled by adding `data-beasties-container` into the top level container that contains the HTML elements above the fold.\n\nYou can estimate the contents of your viewport roughly and add a `<div data-beasties-container>` around the contents.\n\n```html\n<html>\n  <body>\n    <div class=\"container\">\n      <div data-beasties-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\nYou can mark more than one element with `data-beasties-container`. CSS is then inlined if it matches inside _any_ of the containers, which is useful when the above-the-fold content is spread across multiple disconnected regions.\n\n```html\n<html>\n  <body>\n    <header data-beasties-container>\n      /* evaluated */\n    </header>\n    <main>\n      /* ignored */\n    </main>\n    <aside data-beasties-container>\n      /* evaluated */\n    </aside>\n  </body>\n</html>\n```\n\n_Note: This is an easy way to improve the performance of Beasties_\n\n### Skipping individual stylesheets\n\nIf a stylesheet should not be processed by Beasties — for example a file that is injected or replaced at runtime (e.g. multi-tenant theming via Docker volume mounts) — add the `data-beasties-skip` boolean attribute to its `<link>` tag:\n\n```html\n<!-- processed normally -->\n<link rel=\"stylesheet\" href=\"styles.css\">\n\n<!-- skipped entirely — tag is left untouched in the final HTML -->\n<link rel=\"stylesheet\" href=\"custom-theme.css\" data-beasties-skip>\n```\n\nBeasties will not read, inline, prune, or mutate that tag regardless of the active preload strategy. This is useful when disabling `inlineCritical` globally would sacrifice Core Web Vitals optimizations for the rest of your stylesheets.\n\n### Content Security Policy\n\nAll preload strategies other than `\"body\"`, `\"media-script\"` and `preload: false` rely on an inline `onload` attribute or an inline `<script>`, both of which are blocked under a strict CSP (`script-src-attr 'none'`, or `strict-dynamic` alongside a hash or nonce, which makes `'unsafe-inline'` inert).\n\nTo defer non-critical CSS under a strict CSP, use `preload: 'media-script'` with a `nonce`:\n\n```js\nconst beasties = new Beasties({\n  preload: 'media-script',\n  nonce: requestNonce,\n})\n```\n\nA nonce must be unique per response, so if you reuse one instance across requests, pass a function instead of a string. It is called once per document:\n\n```js\nconst beasties = new Beasties({\n  preload: 'media-script',\n  nonce: document => readNonceFrom(document),\n})\n```\n\nDeferred links are left as `media=\"print\"` with the real media value in `data-beasties-media`, and a single script restores them:\n\n```html\n<link rel=\"stylesheet\" href=\"/style.css\" media=\"print\" data-beasties-media=\"all\">\n<noscript><link rel=\"stylesheet\" href=\"/style.css\"></noscript>\n<!-- ...at the end of <body> -->\n<script nonce=\"...\">document.querySelectorAll('link[data-beasties-media]').forEach(function(l){l.media=l.getAttribute('data-beasties-media');l.removeAttribute('data-beasties-media')})</script>\n```\n\nExactly one script is emitted per document and its body never varies, so if you cannot supply a nonce you can allow it with a static `script-src` hash instead.\n\n### Compiler and runtime\n\nUsing Beasties per request has two problems: its dependencies are ~1.8 MB of bundle, and every response re-parses the HTML into a DOM and the stylesheets into PostCSS.\n\nBut after a build the CSS is usually static, so it can be processed _in advance_. Two subpath exports split the work: `beasties/compiler` runs at build time and keeps PostCSS and css-what, `beasties/runtime` runs per request with no dependencies at all.\n\n|  | classic `process()` | `beasties/runtime` |\n| --- | --- | --- |\n| 13 kB CSS, 21 kB HTML | 3.0ms | 0.4ms |\n| 413 kB CSS, 21 kB HTML | 36.1ms | 1.2ms |\n| runtime dependencies | 9 (~1.8 MB unpacked) | none (~27 kB) |\n\n**1. The compiler turns a stylesheet into a 'plan'**\n\n```js\nimport { compileSheet, encodePlan } from 'beasties/compiler'\n\nconst plan = encodePlan(compileSheet(css, { href: '/style.css' }))\n```\n\nRules come out pre-minified, selectors normalised, comment markers and `allowRules` resolved, `url()` values rebased, and font and keyframe dependencies extracted. `href` is what matches a plan to a `<link>` tag later, so a plan compiled without one never matches and the document passes through untouched.\n\n`encodePlan` gives you JSON, so plans can be embedded in a server bundle. They are stored compactly, and utility CSS pools well enough to come out smaller than the stylesheet it describes:\n\n| stylesheet | encoded plan |\n| --- | --- |\n| 13 kB fixture | 15 kB (1.15x) |\n| 413 kB utility-scale | 198 kB (0.48x) |\n\nDecoding costs about 9ms once at startup for a 300 kB plan.\n\n**2. The processor makes a single pass over the HTML**\n\n```js\nimport { createProcessor } from 'beasties/runtime'\n\nconst processor = createProcessor(plans, { preload: 'media-script' })\n\nconst html = processor.process(rendered, { nonce: requestNonce })\n```\n\nTags, classes, ids and attributes are collected, then critical CSS is spliced in as a string rather than round-tripping a DOM. `processor.extract(html)` returns the critical CSS and font preloads without rewriting the document, if you would rather place them yourself.\n\nCreate the processor once and reuse it. Anything that varies per response, like a CSP nonce, belongs in the `process()` call instead.\n\nWithout a DOM, selectors do not apply with 100% accuracy. Simple selectors (a single class, id, tag, or attribute presence) are decided by presence in those token sets; combinators, compound selectors like `.a.b`, and attribute values compile to a small match program that runs during the same scan, using the open-element stack for ancestor and sibling context. Set `exact: false` at compile time to fall back to token presence only, which over-inlines combinator selectors but is cheaper and safer.\n\nOptions split roughly along the same line:\n\n| option | where |\n| --- | --- |\n| `allowRules`, `safeParser`, `exact`, comment markers | build-time |\n| `preload` (all strategies), `noscriptFallback`, `keyframes`, `fonts`, `inlineFonts`, `preloadFonts`, `inlineThreshold`, `minimumExternalSize`, `cache`, `nonce` | runtime |\n| `path`, `publicPath`, `external`, `remote`, `additionalStylesheets` | configurable |\n| `pruneSource`, `reduceInlineStyles` | not supported |\n\nCritical CSS is cached per document shape, keyed on a fingerprint of the scanned tokens. Enable `cache` only for large stylesheets - with smaller ones the scan is the expensive piece.\n\n> [!NOTE]\n> `minimumExternalSize` is measured against the rules that weren't inlined, not against the stylesheet. It and `inlineThreshold` both inline the stylesheet in full and remove its `<link>` entirely.\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- **\"media-script\":** Like `\"media\"`, but instead of an inline `onload` handler the deferred links are marked with `data-beasties-media` and a single script at the end of `<body>` restores their media. The script body is invariant, so it can be allowed with a CSP hash or with `options.nonce`. <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- **\"swap-low\":** Use `<link rel=\"alternate stylesheet\">` (no `preload` in `rel` here!) and swap to `rel=\"stylesheet\"` once loaded ([details](http://filamentgroup.github.io/loadCSS/test/new-low.html)). It ensures lowest priority compared to `swap` and `swap-high`. <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\"` | `\"media-script\"` | `\"swap\"` | `\"swap-high\"` | `\"swap-low\"` | `\"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[beasties-webpack-plugin]: https://github.com/danielroe/beasties/tree/main/packages/beasties-webpack-plugin\n[critical css]: https://www.smashingmagazine.com/2015/08/understanding-critical-css/\n","readmeFilename":"README.md"}