You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

astro-node-fastify

Package Overview
Dependencies
Maintainers
2
Versions
33
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.0.12
Source
npmnpm
Version published
Weekly downloads
26
-38.1%
Maintainers
2
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 uses comes with response compression which is enabled 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 run 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 11 Jun 2024

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