@tng/koa-http-status-header
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"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` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
5
40
3834
35