Installation
astro-post-audit ships as one npm package. Its postinstall step downloads the prebuilt audit binary for your platform from the matching GitHub release.
npm i -D @casoon/astro-post-auditpnpm add -D @casoon/astro-post-audityarn add -D @casoon/astro-post-auditNote
The postinstall script fetches the binary for the installed version from the GitHub release
v<version>. pnpm 10 skips dependency install scripts by default; add
the package to onlyBuiltDependencies so the download runs.
Requirements
| Requirement | Value |
|---|---|
| Node.js | >=18 (engines in package.json) |
| Astro | ^5.0.0, ^6.0.0 or ^7.0.0 (peer dependency) |
| Platforms | macOS arm64, Linux x64 and arm64, Windows x64 and arm64 |
Caution
Intel macOS (darwin-x64) is no longer shipped since 0.7.0. The postinstall step
fails there with Unsupported platform: darwin-x64.
Next steps
Continue with the Quickstart to register the integration and run a first audit.