🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@harperdb/astro

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harperdb/astro

A HarperDB Component for running Astro apps.

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
6
Created
Source

@harperdb/astro

A Harper Component for running Astro applications.

Getting Started

Options

All configuration options are optional

buildCommand: string

Specify a custom build command. Defaults to astro build.

Note: the extension will skip building if the prebuilt option is set to true.

port: number

Specify a port for the Astro handlers. Defaults to the Harper default port (generally 9926).

prebuilt: boolean

When enabled, the extension will look for a dist directory in the root of the component, and skip executing the buildCommand if detected. Defaults to false.

securePort: number

Specify a secure port for the Astro handlers. Defaults to the Harper default secure port.

Example

This repo contains an example Astro app that is already configured to work with Harper.

  • Clone the repo, and navigate to the example directory
    cd example
    
  • Install dependencies
    npm install
    
  • Run the example with Harper
    harperdb run .
    

Keywords

harperdb

FAQs

Package last updated on 06 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