An open API service indexing awesome lists of open source software.

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.

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 .

[![GitHub CI](https://github.com/rnmeow/sanso/actions/workflows/ci.yml/badge.svg)](https://github.com/rnmeow/sanso/actions?query=workflow%3ACI)
[![NPM Version](https://badgen.net/npm/v/sanso)](https://www.npmjs.com/package/sanso)
[![Install Size](https://packagephobia.com/badge?p=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.