Skip to main content

on-headers

v1.1.0SAFE Risk

Execute a listener when a response is about to write headers

A+100/100
Install Command
npm install on-headers
orpnpm add on-headers
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Clean Execution

Zero preinstall or postinstall arbitrary execution hooks.

License Type
MIT

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
8.6 KB
Dependencies
0
Maintainers
3
Last Published
Jul 17, 2025
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is on-headers safe to use in production?
on-headers received a Security Grade of A+ (100/100) with a risk evaluation of SAFE. It contains zero malicious postinstall scripts.
What license does on-headers use?
on-headers is licensed under the MIT license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install on-headers?
Install it via NPM using: npm install on-headers, or via PNPM: pnpm add on-headers, or Yarn: yarn add on-headers.