Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tng/koa-http-status-header

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tng/koa-http-status-header - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

lib/index.d.ts

2

package.json
{
"name": "@tng/koa-http-status-header",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -32,1 +32,9 @@ koa http status

```
## API
<!-- See [docs/api.md](docs/api.md) -->
setHttpStatusHeader(options: StatusHeaderOptions = {}): Koa.Middleware
return `Koa.Middleware` to set response a header represent http status code.
- options: *Object*
- headerName: *String* (Optional) a specific name for store http status code in response header. Default is `x-http-status`
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc