https://github.com/rnmeow/sanso
Sanso is required for Hono, but we do not use require.
https://github.com/rnmeow/sanso
cloudflare helpers hono javascript middlewares typescript utils web worker workers
Last synced: 8 months ago
JSON representation
Sanso is required for Hono, but we do not use require.
- Host: GitHub
- URL: https://github.com/rnmeow/sanso
- Owner: rnmeow
- License: mit
- Created: 2023-01-12T12:27:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T16:10:38.000Z (over 1 year ago)
- Last Synced: 2024-05-29T12:46:30.537Z (over 1 year ago)
- Topics: cloudflare, helpers, hono, javascript, middlewares, typescript, utils, web, worker, workers
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/sanso
- Size: 76.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Sanso
> [!IMPORTANT]
> This package is no longer needed since the provided middlewares are already built in hono 4.2+.
> For more information, visit .[](https://github.com/rnmeow/sanso/actions?query=workflow%3ACI)
[](https://www.npmjs.com/package/sanso)
[](https://packagephobia.com/result?p=sanso)> Sanso is required for Hono, but we do not use require.
To provide useful extensions for Hono.
Note: Under development.
Be careful of possible breaking changes until ver. 1 released.## Usage
```ts
import { trimTrailingSlash } from 'sanso'const app = new Hono()
app.use(trimTrailingSlash())
// routes ...
```When the package is considered complete, the document will be expanded.
## License
(C) 2024, Yu-huan Kuo
Licensed under MIT.