Installation
Install the private Astro OpenAPI package from GitHub Packages.
Sponsor access required
Astro OpenAPI is published as a private package. You need a GitHub account with package read access and a token with
the read:packages scope.
Configure the registry
Add the Prosefly scope to your project-level .npmrc:
@prosefly-pro:registry=https://npm.pkg.github.com//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}Keep GITHUB_TOKEN outside the repository. In CI, provide it through the
platform’s secret manager.
Install the package
-
Confirm that your GitHub account has access to the private package.
-
Set
GITHUB_TOKENin your local shell or package-manager environment. -
Install Astro OpenAPI alongside Astro and Astro Components.
Terminal window pnpm add @prosefly-pro/astro-openapi @prosefly/astro-components
Keep the token private
Do not commit a token to .npmrc, lockfiles, CI output, or client-side code.
Last updated Sep 1, 2026