0
0
mirror of https://github.com/honojs/hono.git synced 2024-12-01 10:51:01 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Yusuke Wada
9c397fbff3
chore: set up prettier (#106) 2022-02-17 21:24:08 +09:00
Yusuke Wada
7dd486ad7b
feat: builtin middleware as sub module (#81)
# BREAKING CHANGES!!

Now, builtin middleware are not in main package. You can't use `Middleware.logger()` method. Call sub modules if needed:

```js
import { Hono } from 'hono'
import { poweredBy } from 'hono/powered-by'
import { logger } from 'hono/logger'

const app = new Hono()

app.use('*', poweredBy())
app.use('*', logger())
```

Closes: #80

---

* feat: builtin middleware as sub module

* fixed middleware

* Update readme

* Add types

* New gif
2022-02-01 22:15:00 +09:00
Yusuke Wada
29f67c5b72
feat: Mustache Middleware (#72)
* [WIP] feat: Mustache Middleware

Dirty code.
A Big problem is tests for Workers Site KV does not work well...

* feat: mustache middleware

* Add readme
2022-01-29 09:09:37 +09:00
Minghe
52b56e6ddb
feat(miniflare): repalce service-worker-mock with miniflare (#41)
* feat(miniflare): repalce service-worker-mock with miniflare

* feat(ci): add build step
2022-01-12 02:14:53 +09:00
Minghe
cb4f3d6282
feat(basic-auth): basic-auth middleware (#28)
* feat(basic-auth): basic-auth middleware

* fix(dep): update yarn.lock

* refactor(review): resolove some comments
2022-01-07 17:44:08 +09:00
Minghe
7c87ac68cd
Setup lint to enable code styles check (#27)
* feat(ci): setup github action to enable ci

* feat(ci): enable lint

* fix(lint): fix critical code style issues
2022-01-07 07:03:54 +09:00
Yusuke Wada
e6039f69f9
Migrate to TypeScript (#21)
* Migrate to TypeScript

* ready for publish
2022-01-05 18:41:29 +09:00
Yusuke Wada
dbb5016a58
Use edge-mock instead of node-fetch (#18) 2022-01-04 07:02:31 +09:00
Yusuke Wada
e9e4ec096a
Add keywords to package.json (#13) 2022-01-02 22:01:09 +09:00
Yusuke Wada
cea29c7087 Remove not used modules 2021-12-20 06:59:29 +09:00
Yusuke Wada
e47d9646f5 Add example 2021-12-15 11:41:28 +09:00
Yusuke Wada
e81a0e826e Add source files 2021-12-15 04:58:45 +09:00