{"_id":"@altano/astro-prettier-response","_rev":"7-14352d89aff5216fb6df88c30c27d778","name":"@altano/astro-prettier-response","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.1":{"name":"@altano/astro-prettier-response","version":"0.0.1","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"altano@gmail.com"},"license":"ISC","_id":"@altano/astro-prettier-response@0.0.1","maintainers":[{"name":"altano","email":"altano@gmail.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"0ce8b3f37ad4d44d5c875416c7e568864db8bd7f","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-0.0.1.tgz","fileCount":13,"integrity":"sha512-0R2sGNl7wPMQ6EYXEGlWPylWltYPJupiI512X9jaJtH8YOkyy+QPuXcKKmhqcswPNBOisIdSYoINuV/jNTTs7g==","signatures":[{"sig":"MEUCIB5TGmBvhkzR1fHY9s/pLS0cQ5amKhpoTmX/AV0IVtgOAiEA7dUxMNdGaqWZpGHQVFAPEXjuEbx4r5Xs0r1jRajwGdQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154955},"type":"module","_from":"file:altano-astro-prettier-response-0.0.1.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsup --watch","lint":"eslint","build":"tsup --config ./tsup.config.ts","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","build:types":"tsc --project tsconfig.declarations.json","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:unused-dependencies":"depcheck","check:types:astro-fixtures":"node --experimental-strip-types ./scripts/check-fixtures.ts"},"_npmUser":{"name":"altano","email":"altano@gmail.com"},"_resolved":"/tmp/0d638dc7d2432a516991213591cfbd8f/altano-astro-prettier-response-0.0.1.tgz","_integrity":"sha512-0R2sGNl7wPMQ6EYXEGlWPylWltYPJupiI512X9jaJtH8YOkyy+QPuXcKKmhqcswPNBOisIdSYoINuV/jNTTs7g==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"10.9.2","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mime-types":"^3.0.1","astro-integration-kit":"^0.18.0","@inox-tools/runtime-logger":"^0.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.5.2","tsup":"^8.4.0","vite":"^6.2.6","astro":"^5.5.6","vitest":"^3.1.1","depcheck":"^1.4.7","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.13.10","@astrojs/check":"^0.9.4","@altano/testing":"0.0.0","@altano/tsconfig":"0.0.0","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^3.1.1","@altano/build-config":"0.0.0","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"3.0.2","@inox-tools/astro-tests":"0.5.1"},"peerDependencies":{"astro":"5.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.x.x"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_0.0.1_1746277794303_0.7211046363026175","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@altano/astro-prettier-response","version":"0.0.2","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"altano@gmail.com"},"license":"ISC","_id":"@altano/astro-prettier-response@0.0.2","maintainers":[{"name":"altano","email":"altano@gmail.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"353d272f2aee3129b20493a599b096eecc3f2e8d","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-0.0.2.tgz","fileCount":13,"integrity":"sha512-m9n9Xo6oz3/4slRKlgvo/LPnyM14RQf7JaHFFtrXN9yQcH562nZ6zfyQy/CN/gCIxrY5rfm85JARjZ1d3sO30w==","signatures":[{"sig":"MEUCIAD8dRjqJXBRr/ykNbTUQ/iJKBbyabZz0/KTqa1ybiMoAiEA4DjlsEfuZPyOCuqLfQBCpE5JDxhBuq9qhhU2cYqFDO0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154955},"type":"module","_from":"file:altano-astro-prettier-response-0.0.2.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsup --watch","lint":"eslint","build":"tsup --config ./tsup.config.ts","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","build:types":"tsc --project tsconfig.declarations.json","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:unused-dependencies":"depcheck","check:types:astro-fixtures":"node --experimental-strip-types ./scripts/check-fixtures.ts"},"_npmUser":{"name":"altano","email":"altano@gmail.com"},"_resolved":"/tmp/7baf4ff7d4815a884cf2be75b48f3d36/altano-astro-prettier-response-0.0.2.tgz","_integrity":"sha512-m9n9Xo6oz3/4slRKlgvo/LPnyM14RQf7JaHFFtrXN9yQcH562nZ6zfyQy/CN/gCIxrY5rfm85JARjZ1d3sO30w==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"10.9.2","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mime-types":"^3.0.1","astro-integration-kit":"^0.18.0","@inox-tools/runtime-logger":"^0.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.5.2","tsup":"^8.4.0","vite":"^6.2.6","astro":"^5.5.6","vitest":"^3.1.1","depcheck":"^1.4.7","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.13.10","@astrojs/check":"^0.9.4","@altano/testing":"0.0.0","@altano/tsconfig":"0.0.0","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^3.1.1","@altano/build-config":"0.0.0","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"3.0.2","@inox-tools/astro-tests":"0.5.1"},"peerDependencies":{"astro":"5.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.x.x"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_0.0.2_1746279191822_0.7488526614151958","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@altano/astro-prettier-response","version":"1.0.0","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"altano@gmail.com"},"license":"ISC","_id":"@altano/astro-prettier-response@1.0.0","maintainers":[{"name":"altano","email":"altano@gmail.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"2555acc9b32d05d3c82eb620461a4869daa13913","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-1.0.0.tgz","fileCount":7,"integrity":"sha512-Iyp2ay3Ncr67G+gznWe64SmSjxZDCVg0aE43BEOetHOTeskuDowLm/GB+lWMUWQbOzkPjN6+nAPChogailhMGA==","signatures":[{"sig":"MEYCIQCkSYyb+3z5il3ccOflR+cV0UEqGrNArlB1hYV6MEBG9gIhAMStrOrXBuN+Hy19xxwLCiudPqz9Z8wwnz3xHmgXCG53","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":151490},"type":"module","_from":"file:altano-astro-prettier-response-1.0.0.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsdown --watch","lint":"eslint","build":"tsdown","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:types:astro":"node --experimental-strip-types ./scripts/check-fixtures.ts","check:unused-dependencies":"depcheck"},"_npmUser":{"name":"altano","actor":{"name":"altano","type":"user","email":"altano@gmail.com"},"email":"altano@gmail.com"},"_resolved":"/tmp/81a8c8d9311f4ba97295b10de385e36c/altano-astro-prettier-response-1.0.0.tgz","_integrity":"sha512-Iyp2ay3Ncr67G+gznWe64SmSjxZDCVg0aE43BEOetHOTeskuDowLm/GB+lWMUWQbOzkPjN6+nAPChogailhMGA==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"10.9.2","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mime-types":"^3.0.1","astro-integration-kit":"^0.18.0","@inox-tools/runtime-logger":"^0.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.5.2","vite":"^6.2.6","astro":"^5.8.0","tsdown":"^0.12.3","vitest":"^3.1.4","depcheck":"^1.4.7","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.13.10","@astrojs/check":"^0.9.4","@altano/testing":"0.0.1","@altano/tsconfig":"0.0.1","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^3.1.4","@altano/build-config":"0.0.1","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"4.0.0","@inox-tools/astro-tests":"0.5.1"},"peerDependencies":{"astro":"5.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.x.x"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_1.0.0_1751327846723_0.6096572982568123","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@altano/astro-prettier-response","version":"1.0.1","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"altano@gmail.com"},"license":"ISC","_id":"@altano/astro-prettier-response@1.0.1","maintainers":[{"name":"altano","email":"altano@gmail.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"819651f176a2832b6e3e32e9bb2e7ed6c0017032","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-1.0.1.tgz","fileCount":9,"integrity":"sha512-YUBX4z8gu0p4cq77h+q0q3YSczPKbSjlUh9nXS/VYD10shZY2nX9A0vFGDjFCwADfCd89nWGJca1s0iVaSAmtg==","signatures":[{"sig":"MEYCIQD7cnoOYjLW6gdE4qBqbhq3EwaZijTfsOTFb4s79fxjIAIhAL1ejpXjEaZDNSv5ScJn5Iyd/u8MHDEPMbyhWUIZXPtR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162980},"type":"module","_from":"file:altano-astro-prettier-response-1.0.1.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsdown --watch","lint":"eslint","build":"tsdown","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:types:astro":"node --experimental-strip-types ./scripts/check-fixtures.ts","check:unused-dependencies":"depcheck"},"_npmUser":{"name":"altano","actor":{"name":"altano","type":"user","email":"altano@gmail.com"},"email":"altano@gmail.com"},"_resolved":"/tmp/2cb2845f8228e04a1f548232bba2f447/altano-astro-prettier-response-1.0.1.tgz","_integrity":"sha512-YUBX4z8gu0p4cq77h+q0q3YSczPKbSjlUh9nXS/VYD10shZY2nX9A0vFGDjFCwADfCd89nWGJca1s0iVaSAmtg==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"10.9.2","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"mime-types":"^3.0.1","astro-integration-kit":"^0.18.0","@inox-tools/runtime-logger":"^0.4.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.5.2","vite":"^6.2.6","astro":"^5.10.1","tsdown":"^0.12.9","vitest":"^3.1.4","depcheck":"^1.4.7","prettier":"^3.5.3","typescript":"^5.8.2","@types/node":"^22.13.10","@astrojs/check":"^0.9.4","@altano/testing":"0.0.1","@altano/tsconfig":"0.0.1","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^3.1.4","@altano/build-config":"0.0.1","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"4.0.1","@inox-tools/astro-tests":"0.5.1"},"peerDependencies":{"astro":"5.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.x.x"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_1.0.1_1751863786050_0.018905659817305853","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@altano/astro-prettier-response","version":"2.0.0","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"altano@gmail.com"},"license":"ISC","_id":"@altano/astro-prettier-response@2.0.0","maintainers":[{"name":"altano","email":"altano@gmail.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"8c0b5dfd561160b94e99daebc78906b28d4edc27","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-2.0.0.tgz","fileCount":9,"integrity":"sha512-+PnkoKHCFPjRdVD/E048UbqPVjr8RiCDDeVCu3DatTlUxRk5aSt3UB81i8OswC5PnvonSQ0G/B4pjsWw5mzPBA==","signatures":[{"sig":"MEQCHwrDKfzdnv4F0F6NPS0KTX43o5ZbcsPZ0XhFJs7cNq8CIQCqmXbA3j9x4gslWkHQ1Pzy8pha57pwPOfTi9DIaHPQvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altano%2fastro-prettier-response@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163389},"type":"module","_from":"file:altano-astro-prettier-response-2.0.0.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsdown --watch","lint":"eslint","build":"tsdown --config-loader unrun","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:types:astro":"node --experimental-strip-types ./scripts/check-fixtures.ts","check:unused-dependencies":"depcheck"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dca040a7-b877-48c3-a8ec-af8855ee6320"}},"_resolved":"/tmp/f6fc7756cb5c55e8ac28f79d68978314/altano-astro-prettier-response-2.0.0.tgz","_integrity":"sha512-+PnkoKHCFPjRdVD/E048UbqPVjr8RiCDDeVCu3DatTlUxRk5aSt3UB81i8OswC5PnvonSQ0G/B4pjsWw5mzPBA==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"11.11.0","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"25.8.1","dependencies":{"mime-types":"^3.0.2","astro-integration-kit":"^0.20.0","@inox-tools/runtime-logger":"^0.8.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.8.5","vite":"^7.3.1","astro":"^6.0.8","tsdown":"^0.21.4","vitest":"^4.1.0","depcheck":"^1.4.7","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.5.0","@astrojs/check":"^0.9.8","@altano/testing":"0.0.1","@altano/tsconfig":"0.0.1","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^4.1.0","@altano/build-config":"0.0.1","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"4.0.2","@inox-tools/astro-tests":"^0.9.1"},"peerDependencies":{"astro":"6.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_2.0.0_1774241731939_0.4423730556280261","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@altano/astro-prettier-response","version":"2.0.1","keywords":["astro","astro-integration","withastro"],"author":{"url":"https://alan.norbauer.com","name":"Alan Norbauer","email":"alan@norbauer.com"},"license":"ISC","_id":"@altano/astro-prettier-response@2.0.1","maintainers":[{"name":"altano","email":"alan@norbauer.com"}],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","bugs":{"url":"https://github.com/altano/npm-packages/issues"},"dist":{"shasum":"ee6967c32e30fc17df1d034f4f8ece6eb5b23227","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-2.0.1.tgz","fileCount":9,"integrity":"sha512-IzC092r9bh3nFBz7z+mHT6lizFXclNCqH3AZB3ru/kXhBryVlfRzBUx4CTGFbL5BeBn7rcFQTAawkOro4P5wZQ==","signatures":[{"sig":"MEYCIQDnaAj8ZWD15EjKezL5C7EDUlkSiMyEhPCtsNENyePaBAIhAOwfiFZnFh5h0Kf78oaf1zOcdUehby84p3EKIvAUl/fH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altano%2fastro-prettier-response@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":163390},"type":"module","_from":"file:altano-astro-prettier-response-2.0.1.tgz","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"scripts":{"dev":"tsdown --watch","lint":"eslint","build":"tsdown --config-loader unrun","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","format":"prettier --write src","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","test:unit":"vitest --run","lint:timing":"TIMING=1 eslint src/**/*.ts*","check:types:src":"tsc --noEmit","test:unit:watch":"vitest","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:types:astro":"node --experimental-strip-types ./scripts/check-fixtures.ts","check:unused-dependencies":"depcheck"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dca040a7-b877-48c3-a8ec-af8855ee6320"}},"_resolved":"/tmp/e7faabb3a32dc4ee90721ea30a4335d2/altano-astro-prettier-response-2.0.1.tgz","_integrity":"sha512-IzC092r9bh3nFBz7z+mHT6lizFXclNCqH3AZB3ru/kXhBryVlfRzBUx4CTGFbL5BeBn7rcFQTAawkOro4P5wZQ==","repository":{"url":"git+https://github.com/altano/npm-packages.git","type":"git","directory":"packages/astro-prettier-response"},"_npmVersion":"11.11.0","description":"Prettier html/css/js for your Astro site","directories":{},"sideEffects":false,"_nodeVersion":"25.8.1","dependencies":{"mime-types":"^3.0.2","astro-integration-kit":"^0.20.0","@inox-tools/runtime-logger":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^8.8.5","vite":"^7.3.1","astro":"^6.0.8","tsdown":"^0.21.4","vitest":"^4.1.0","depcheck":"^1.4.7","prettier":"^3.8.1","typescript":"^5.9.3","@types/node":"^25.5.0","@astrojs/check":"^0.9.8","@altano/testing":"0.0.1","@altano/tsconfig":"0.0.1","@types/mime-types":"^2.1.4","@vitest/coverage-v8":"^4.1.0","@altano/build-config":"0.0.1","@prettier/plugin-xml":"^3.4.1","@altano/tiny-async-pool":"4.0.2","@inox-tools/astro-tests":"^1.0.0"},"peerDependencies":{"astro":"6.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/astro-prettier-response_2.0.1_1774821977027_0.5546282511632359","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@altano/astro-prettier-response","version":"3.0.0","description":"Prettier html/css/js for your Astro site","keywords":["astro","astro-integration","withastro"],"homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","repository":{"type":"git","url":"https://github.com/altano/npm-packages","directory":"packages/astro-prettier-response"},"license":"ISC","author":{"name":"Alan Norbauer","email":"alan@norbauer.com","url":"https://alan.norbauer.com"},"sideEffects":false,"type":"module","exports":{".":"./dist/index.js","./middleware":"./dist/middleware/index.js"},"dependencies":{"@inox-tools/runtime-logger":"^2.0.0","mime-types":"^3.0.2"},"devDependencies":{"@astrojs/check":"^0.9.9","@inox-tools/astro-tests":"^2.0.0","@prettier/plugin-xml":"^3.4.1","@types/mime-types":"^3.0.1","@types/node":"^26.1.1","@vitest/coverage-v8":"^4.1.10","astro":"^7.1.3","depcheck":"^1.4.7","prettier":"3.9.6","tsdown":"^0.22.13","typescript":"^6.0.3","vite":"^8.1.5","vitest":"^4.1.10","zx":"^8.8.5","@altano/build-config":"0.0.1","@altano/testing":"0.0.1","@altano/tiny-async-pool":"4.0.3","@altano/tsconfig":"0.0.1"},"peerDependencies":{"astro":"7.x.x","prettier":"3.x.x"},"optionalDependencies":{"@prettier/plugin-xml":"3.4.2"},"publishConfig":{"access":"public"},"scripts":{"build":"tsdown","check:types:astro":"node --experimental-strip-types ./scripts/check-fixtures.ts","check:types:src":"tsc --noEmit","check:types:test":"tsc --noEmit --project ./tests/tsconfig.json","check:unused-dependencies":"depcheck","clean":"rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist","dev":"tsdown --watch","format":"prettier --check .","format:fix":"prettier --write .","lint":"eslint","lint:fix":"TIMING=1 eslint src/**/*.ts* --fix","lint:timing":"TIMING=1 eslint src/**/*.ts*","test:unit":"vitest --run","test:unit:watch":"vitest"},"_nodeVersion":"24.18.0","_id":"@altano/astro-prettier-response@3.0.0","dist":{"integrity":"sha512-2O/lgigvvtSJVUR0IArwUKcG3FUP2AvQsggzpgdwhauPFButc3q6fYUur0nAKhPltzwENQZpMQ0X8KHXvZfrRg==","shasum":"56691ec1d99783003a86654fd38640d42280d33c","tarball":"https://registry.npmjs.org/@altano/astro-prettier-response/-/astro-prettier-response-3.0.0.tgz","fileCount":8,"unpackedSize":27796,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altano%2fastro-prettier-response@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGYxQplUGw7CoT67q7nwHS0HvuI8anEWep2Xl14ybm47AiEA0cAuLgBcEy9+8T5cJczp2WtVIAOlx0vm4A4ia7F9GX8="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:dca040a7-b877-48c3-a8ec-af8855ee6320"}},"directories":{},"maintainers":[{"name":"altano","email":"alan@norbauer.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/astro-prettier-response_3.0.0_1785618463089_0.4711034693798206"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-03T13:09:54.237Z","modified":"2026-08-01T21:07:43.663Z","0.0.1":"2025-05-03T13:09:54.728Z","0.0.2":"2025-05-03T13:33:12.062Z","1.0.0":"2025-06-30T23:57:27.013Z","1.0.1":"2025-07-07T04:49:46.297Z","2.0.0":"2026-03-23T04:55:32.147Z","2.0.1":"2026-03-29T22:06:17.189Z","3.0.0":"2026-08-01T21:07:43.224Z"},"author":{"name":"Alan Norbauer","email":"alan@norbauer.com","url":"https://alan.norbauer.com"},"license":"ISC","homepage":"https://github.com/altano/npm-packages/tree/main/packages/astro-prettier-response","keywords":["astro","astro-integration","withastro"],"repository":{"type":"git","url":"https://github.com/altano/npm-packages","directory":"packages/astro-prettier-response"},"description":"Prettier html/css/js for your Astro site","maintainers":[{"name":"altano","email":"alan@norbauer.com"}],"readme":"# astro-prettier-response\n\nThis package injects a middleware that runs the [Prettier formatter](https://prettier.io) for all output to make it unminified and pretty ✨. If it can't format something, it returns it as-is.\n\n## Wait, what?\n\nThis defies standard convention: instead producing minified output that is _as small as possible_, this makes your output _as pretty as possible_. You probably don't want to use this integration, and if you think you do, you almost certainly only want to use it on your statically-generated content.\n\nSee [https://alan.norbauer.com/articles/dying-for-beauty/](https://alan.norbauer.com/articles/dying-for-beauty/) for a write-up of why I made this.\n\n# Prerequisites\n\nThis integration is for [Astro](https://astro.build). If you aren't using Astro you're in the wrong place.\n\n# Installation\n\n## Astro Integration Installer\n\nIn your existing Astro project:\n\n```sh\n# Using NPM\nnpx astro add @altano/astro-prettier-response\n# Using Yarn\nyarn astro add @altano/astro-prettier-response\n# Using PNPM\npnpm astro add @altano/astro-prettier-response\n```\n\n## Manual Installation\n\nInstall the package:\n\n```sh\n# Using NPM\nnpx install @altano/astro-prettier-response\n# Using Yarn\nyarn add @altano/astro-prettier-response\n# Using PNPM\npnpm add @altano/astro-prettier-response\n```\n\nAdd it to your Astro config:\n\n```js\nimport prettierResponse from \"@altano/astro-prettier-response\";\n\nexport default defineConfig({\n  integrations: [prettierResponse()],\n});\n```\n\n## Configuration Options\n\nThe integration works fine with no manual configuration, but here are the options and their default values:\n\n```js\nimport prettierResponse from \"@altano/astro-prettier-response\";\n\nexport default defineConfig({\n  integrations: [\n    prettierResponse({\n      disableMinifiers: true, // disable Astro's html/css/js minifiers\n      formatXml: false, // requires the `@prettier/plugin-xml` package be installed\n    }),\n  ],\n});\n```\n\n## Whitespace Sensitivity\n\nPrettier is sensitive to significant whitespace in its formatting. This integration leaves the default `--html-whitespace-sensitivity=css` in place. If you run into trouble you can override this default setting on a case-by-case basis right in your html and it will be respected by Prettier. See https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting for more information about html whitespace handling and https://github.com/prettier/plugin-xml?tab=readme-ov-file#whitespace for xml whitespace handling.\n\n## Config Overrides\n\nYou might have noticed this line in your Astro logs:\n\n> [astro-prettier-response] Disabling minification of html/css/js in Astro config\n\nThis is warning you that this integration is overriding your config to disable Astro's html/js/css minification, because that's obviously what you want.\n\nIf it's _not_ what you want, and you want Pretty-but-minified output for some reason, you can configure the integration to respect your Astro settings without overriding them:\n\n```js\nimport prettierResponse from \"@altano/astro-prettier-response\";\n\nexport default defineConfig({\n  integrations: [\n    prettierResponse({\n      // Leave Astro's minifiers on (sorry for the double-negative it is what it is)\n      // ⚠️ NOT RECOMMENDED\n      disableMinifiers: false,\n    }),\n  ],\n});\n```\n\nAnd if you like the default behavior but you just hate seeing this logged every time you build, then configure Astro to disable minification yourself and the integration will stop logging:\n\n```js\nimport prettierResponse from \"@altano/astro-prettier-response\";\n\nexport default defineConfig({\n  integrations: [prettierResponse()],\n  vite: {\n    build: {\n      minify: false,\n      cssMinify: false,\n    },\n    environments: {\n      client: {\n        build: {\n          minify: false,\n        },\n      },\n    },\n  },\n  compressHTML: false,\n});\n```\n\nThis will do exactly the same thing (disable minification) and will still run your output through Prettier, but the log line will go away.\n\n## How This Integration Works\n\nThis integration injects a middleware that intercepts all requests. It looks at the `Content-Type` of every `Response` and determines the extension (using the `mime-types` npm package). This is passed along to Prettier which uses it to determine the appropriate parser to use, and then it attempts formatting.\n\nIf your Response doesn't have a `Content-Type`, it won't be formatted, so make sure you return one in the headers of your endpoints.\n\nFormatting is only attempted if the `Response.status` is 2xx or 4xx (so a 500 error, for example, will pass through the middleware untouched).\n\n## Troubleshooting\n\nIf you are getting back unformatted content and you don't know why:\n\n- If it's an endpoint, make sure you return a `Content-Type` header (.astro files have this set automatically).\n- If it's an xml file, make sure you've enabled the `formatXml` option and installed the `@prettier/plugin-xml` package.\n- Try enabling Astro's verbose logging to get more log output from this integration, e.g. `astro build --verbose`, which would give you output about whether each resource was successfully formatted or not:\n  ![snippet from the build logs of running the `astro build --verbose` command](./readme/verbose-logs.png)\n\nIf you are getting back formatted content, but it doesn't look like what you would expect, consult [the section above on whitespace sensitivity](#whitespace-sensitivity).\n\n## Special Thanks\n\nThank you to [the Astro team](https://github.com/withastro/astro/graphs/contributors) for creating such a great site generator, especially [Fryuni](https://fryuni.dev/) for creating [Inox Tools](https://inox-tools.fryuni.dev/) which power all my Astro integrations, including this one. It makes them easier to write and possible to test and I'm not sure I'd want to make Astro integrations without them.\n","readmeFilename":""}