This package has been deprecated

Author message:

The package is no longer needed since the provided middlewares are already built in hono 4.2+. For more information, visit https://hono.dev/middleware/builtin/trailing-slash .

sanso
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Sanso

GitHub CI NPM Version Install Size

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

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 touch@rnmeow.com

Licensed under MIT.

Readme

Keywords

none

Package Sidebar

Install

npm i sanso

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

8.42 kB

Total Files

16

Last publish

Collaborators

  • rnmeow