🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@hoajs/secure-headers

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hoajs/secure-headers

SecureHeaders middleware for Hoa.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
7
-46.15%
Maintainers
2
Weekly downloads
 
Created
Source

@hoajs/secure-headers

SecureHeaders middleware for Hoa.

Installation

$ npm i @hoajs/secure-headers --save

Quick Start

import { Hoa } from 'hoa'
import { secureHeaders } from '@hoajs/secure-headers'

const app = new Hoa()
app.use(secureHeaders())

app.use(async (ctx) => {
  ctx.res.body = `Hello, Hoa!`
})

export default app

Documentation

The documentation is available on hoa-js.com

Test (100% coverage)

$ npm test

License

MIT

Keywords

hoa

FAQs

Package last updated on 11 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts