Add README and LICENSE

This commit is contained in:
Akira Tempaku 2024-12-22 15:30:31 +09:00
parent 84d9b5d984
commit 68e0d6a0a9
2 changed files with 25 additions and 1 deletions

View file

@ -1,3 +1,20 @@
# lack-mw
Middleware collection for [Lack](https://github.com/fukamachi/lack)
Middleware collection for [Lack](https://github.com/fukamachi/lack).
## 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