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

@dkx/http-server

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dkx/http-server - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

lib/middleware.d.ts
import { Request } from './request';
import { Response } from './response';
export declare type RequestState = {};
export declare interface RequestState {
[key: string]: any;
}
export declare type NextMiddlewareFunction = (response: Response) => Promise<Response>;
export declare type Middleware = (request: Request, response: Response, next: NextMiddlewareFunction, state: RequestState) => Promise<Response>;
{
"name": "@dkx/http-server",
"version": "0.1.5",
"version": "0.1.6",
"description": "Minimalistic HTTP server",

@@ -5,0 +5,0 @@ "repository": "git@gitlab.com:dkx/http/server.git",

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