0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-22 11:17:33 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Yusuke Wada
ac713c0659
refactor: refine directory structure (#156)
* refactor: refine importing mechanism

* refactor: move `CODE_OF_CONDUCT.md`
2022-04-20 14:06:04 +09:00
Yusuke Wada
e4c0ea2368
docs: create Japanese readme (#131)
* docs: add japanese readme

* fix

* tweak

* use text

* tweak
2022-03-09 16:03:58 +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
e6039f69f9
Migrate to TypeScript (#21)
* Migrate to TypeScript

* ready for publish
2022-01-05 18:41:29 +09:00
Yusuke Wada
818e5cafcf ignore .github 2022-01-02 00:32:01 +09:00
Yusuke Wada
36535de0e5 Add script for benchmark 2021-12-23 03:07:57 +09:00
Yusuke Wada
bac8b11e2d Add npm ignore file 2021-12-22 14:28:22 +09:00