https://github.com/drivly/hono-worker-template
Template Cloudflare Worker using Hono with support for HTTP Imports
https://github.com/drivly/hono-worker-template
Last synced: 3 months ago
JSON representation
Template Cloudflare Worker using Hono with support for HTTP Imports
- Host: GitHub
- URL: https://github.com/drivly/hono-worker-template
- Owner: drivly
- License: mit
- Created: 2022-09-30T14:34:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T14:40:16.000Z (over 2 years ago)
- Last Synced: 2025-02-16T15:16:57.156Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template Cloudflare Worker using Hono with support for HTTP Imports
```javascript
import { Hono } from 'https://pkg.do/hono'
const app = new Hono()app.get('/', (c) => c.text('Hono!!'))
export default app
```Uses [drivly/deploy-worker](https://github.com/marketplace/actions/deploy-worker) GitHub Action for 5-10 second deployment times:
```yaml
name: Deploy
on: push
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- uses: drivly/deploy-worker@beta-1
```