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

1.0.2 • Public • Published

Elysia Helmet

Helmet helps secure Elysia apps by setting HTTP response headers. This is a port of the official helmet plugin for express.

🧑‍💻 Install

bun add elysia-helmet

👋 Getting Started

Here's a sample Elysia app that uses Helmet:

import { Elysia } from 'elysia';
import { helmet } from 'elysia-helmet';

new Elysia().use(helmet()).listen(3000);

For more configuration options, please refer to the original helmet documentation.

🔓 License

This software ist distributed under the MIT license. For more information you can have a look at the license file.

Readme

Keywords

Package Sidebar

Install

npm i elysia-helmet

Weekly Downloads

923

Version

1.0.2

License

MIT

Unpacked Size

11.1 kB

Total Files

5

Last publish

Collaborators

  • devtobias