<div align="center"> <p> <strong>🚀 @hedystia/astro-bun</strong> </p>
npm install @hedystia/astro-bun- 🚄 Lightning-fast performance with Bun integration
- 🔧 Easy setup - get started in minutes
- 🔄 Seamless compatibility with Astro projects
- 🛠️ Unix socket support - easily run your Bun server with Unix sockets
- 🛠️ Flexible configuration options
1. Install the package:
``bash`
npm install @hedystia/astro-bun
2. Add it to your Astro config:
`javascript
import { defineConfig } from "astro/config";
import bun from "@hedystia/astro-bun";
export default defineConfig({
// ... other config options
adapter: bun(),
});
`
3. Build your Astro project:
`shellscript`
astro build
4. Run your project with Bun:
`shellscript`
bun run ./dist/server/entry.mjs
Customize your setup with these options:
`javascript
import { defineConfig } from "astro/config";
import bun from "@hedystia/astro-bun";
export default defineConfig({
adapter: bun(),
output: "static",
server: {
"host": "0.0.0.0",
"port": 3000,
}
});
``
- Blazing Fast: Harness the speed of Bun for your Astro projects
- Modern Development: Stay ahead with cutting-edge web technologies
- Optimized Performance: Fine-tuned for efficiency and speed
This project is licensed under the MIT License.
- Astro - The web framework that powers this adapter
- Bun - The incredible JavaScript runtime