🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

astro-node-fastify

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astro-node-fastify

Astro Fastify integration for Node.js

0.4.2
Source
npm
Version published
Weekly downloads
64
-24.71%
Maintainers
0
Weekly downloads
 
Created
Source

Astro Node.js Fastify

This adapter uses the Fastify web framework which allows Astro to deploy SSR sites to Node.js targets. It also compresses asset and SSR responses by default.

CI Node.js runtime support NPM Version

Table of contents

Quickstart

  • Install via the package manager of your choice
    • Example via NPM: npm i --save-prod astro-node-fastify
    • Or via the Astro CLI: astro add astro-node-fastify
  • Build your site
  • Either start a preview or the standalone entry.

Usage

Install this package as a runtime dependency with the package manager of your choice. Afterward, you can configure which assets will be pre compressed, which cache headers the "public" should have, the default response headers that every SSR response should have, which compression algorithms should be available, and some more tweaks.

Configuration

The configuration documentation can be found here: https://friedemannsommer.github.io/astro-node-fastify/.

Keywords

astro

FAQs

Package last updated on 14 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts