Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@deepkit/http

deepkit4kMIT1.0.15TypeScript support: included

Deepkit HTTP server and router.

readme







Discord npm CI

Deepkit Framework is a new high-performance and real-time TypeScript framework for enterprise TypeScript applications. Standalone TypeScript libraries and a framework that brings everything together.

Docs

Check out the Deepkit Documentation to get started.

Getting started

To create a Deepkit app with Deepkit Framework from scratch, you can use NPM init:

npm init @deepkit/app@latest my-deepkit-app

Community Packages

Examples

Contributing

If you are interested in contributing to the development of Deepkit, check out the Development Docs to learn more about setting up your local development environment.

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.15 (2025-06-26)

Features

  • desktop-ui: refactor to standalone/signal, update angular to v20, new website docs (#657) (a39d26c)

1.0.12 (2025-06-05)

Note: Version bump only for package @deepkit/http

1.0.11 (2025-06-02)

Note: Version bump only for package @deepkit/http

1.0.9 (2025-05-23)

Note: Version bump only for package @deepkit/http

1.0.8 (2025-05-20)

Bug Fixes

  • http: proper handling of form & multipart values, plus multipart JSON field support (#649) (7383c73)
  • http: support array json request bodies (2d3274e)

1.0.5 (2025-04-02)

Features

  • injector: refactor internal code to get big performance improvement (f295c5e)

1.0.3 (2025-03-13)

Bug Fixes

  • http: better defaults for new formidable version (5c9788e)

Features

  • event: align API with Event web standards (0e1dca2)
  • injector: improve error messages, make it very clear what failed and where providers are located (5866eda)
  • rpc: automatically garbage collect observables + new event system + stats collection (d727232)

BREAKING CHANGES

  • event: stopPropagation() becomes stopImmediatePropagation().

New BaseEvent.preventDefault() which replaces custom solutions like stop() in DatabaseEvent.

1.0.2 (2025-02-24)

Note: Version bump only for package @deepkit/http

1.0.1 (2025-02-24)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.160 (2025-02-18)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.158 (2025-02-15)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.157 (2025-02-15)

Bug Fixes

  • http: isElementStruct with null (04e54b0)
  • type: convert TypeAnnotation into intrinsic type (#629) (4d1a13e), closes #626

Features

  • http: update formidable to ^3.5.2 (e4007c3)
  • update to angular 19 and typescript 5.7.3, new @deepkit/angular-ssr package (#627) (52333a7)

1.0.1-alpha.156 (2025-01-30)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.155 (2024-10-30)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.154 (2024-09-06)

Features

  • http: http timeout options (44fbf56)

1.0.1-alpha.153 (2024-06-06)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.151 (2024-05-14)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.150 (2024-05-09)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.149 (2024-05-07)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.148 (2024-05-04)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.147 (2024-05-04)

Bug Fixes

  • http: support for JSON array payloads (#564) (feeeaa6)

1.0.1-alpha.146 (2024-04-17)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.145 (2024-04-08)

Bug Fixes

  • http: make sure invalid formidable files are skipped (d1ff09b)

1.0.1-alpha.143 (2024-03-17)

Bug Fixes

  • http: parameter service injection into route methods with encapsulated modules (9c98f8b)

1.0.1-alpha.142 (2024-03-06)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.141 (2024-03-05)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.140 (2024-03-02)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.139 (2024-02-29)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.138 (2024-02-27)

Bug Fixes

  • type: make sure methods are not part of deserialization/type guard union resolver (eb08a73)

1.0.1-alpha.137 (2024-02-26)

Bug Fixes

  • type: correctly type guard null in optional properties (c0adcb0)

1.0.1-alpha.134 (2024-02-15)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.133 (2024-02-15)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.132 (2024-02-10)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.131 (2024-02-09)

Bug Fixes

  • http: make sure all path parameters are available in HttpRequestParser (e215420)

1.0.1-alpha.130 (2024-02-07)

Bug Fixes

  • http: don't include resolver/DI objects into HttpRequestParser (be189c5)

Features

  • http: allow to fetch unused path parameters in HttpRequestParser (cc3cd3b)

1.0.1-alpha.129 (2024-02-07)

Features

  • http: also read path parameters in HttpRequestParser<T> (888d058)

1.0.1-alpha.128 (2024-02-06)

Features

  • http: add new HttpRequestParser<T> injection token (6101f83)

1.0.1-alpha.124 (2024-02-04)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.123 (2024-02-02)

Bug Fixes

  • injector: resolve deps of exported providers correctly (c185b38)

1.0.1-alpha.122 (2024-01-31)

Features

  • injector: new Module.configureProvider<T>(Fn) with configuration callback (1739b95)

1.0.1-alpha.121 (2024-01-31)

Features

  • http: allow using unknown/any/never types that are nominal (3221ff0)

1.0.1-alpha.120 (2024-01-29)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.119 (2024-01-28)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.118 (2024-01-27)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.117 (2024-01-26)

Features

  • http: support non-class types as DI tokens in route actions (a296570)

1.0.1-alpha.116 (2024-01-22)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.115 (2024-01-21)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.114 (2024-01-21)

Bug Fixes

  • http: make sure HttpHeader options is defined (ea251ed)

1.0.1-alpha.113 (2024-01-17)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.112 (2024-01-16)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.111 (2024-01-15)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.110 (2024-01-11)

Note: Version bump only for package @deepkit/http

1.0.1-alpha.109 (2024-01-10)

Bug Fixes

  • http: use default values of route parameters if no http value was provided. (fa74d16), closes #529

1.0.1-alpha.108 (2023-11-21)

Bug Fixes

  • http: fix tests to reflect new error reporting (1eb83ff)

1.0.1-alpha.105 (2023-10-23)

Bug Fixes

  • type: do not interfere with type checking when intersecting multiple type annotations. (af85f1f)