Middleware collection for Lack
Find a file
2024-12-22 18:37:39 +09:00
.github/workflows init 2024-12-21 18:08:14 +09:00
src Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
tests Fix trailing-slash test 2024-12-22 16:25:10 +09:00
.gitignore init 2024-12-21 18:08:14 +09:00
lack-mw-test.asd Add trailing-slash middlewares 2024-12-22 15:26:01 +09:00
lack-mw.asd init 2024-12-21 18:08:14 +09:00
LICENSE Add license of Hono 2024-12-22 15:53:41 +09:00
qlfile Add dissect 2024-12-22 18:37:39 +09:00
qlfile.lock Add dissect 2024-12-22 18:37:39 +09:00
README.md Add license of Hono 2024-12-22 15:53:41 +09:00

lack-mw

Middleware collection for Lack.

These middlewares were ported from Hono.

Middlewares

  • trailing-slash
    Handles trailing slashes in URLs for GET requests.
    If the requested resource isnt found, it redirects to the correct URL accordingly.
    • *append-trailing-slash*
      Redirects to the URL with a trailing slash.
    • *trim-trailing-slash*
      Redirects to the URL without a trailing slash.
  • Coming soon...

License

Licensed under the MIT License.

© 2024 skyizwhite

© 2021 - present, Yusuke Wada and Hono contributors