Below there is a table comparing tinyhttp, Express and polka.
criteria | tinyhttp | express v4 | polka |
---|---|---|---|
Minimum supported Node.js version | 12.20.0 | 0.10.0 | 6.0.0 |
Minimum supported ECMAScript version | ES2019 | ES5 (?) | ES5 |
req / res extensions |
鉁旓笍 | 鉁旓笍 | 鉁栵笍 |
Test coverage | 97% | 100% | 100% |
Compiled to native ESM | 鉁旓笍 | 鉁栵笍 | 鉁栵笍 |
TypeScript support | 鉁旓笍 | 鉁栵笍 | 鉁栵笍 |
Package size (core only) | 34.4kB | 208 kB | 25.5 kB |
Built-in middlewares | 鉁栵笍 | 鉁旓笍 | 鉁栵笍 |
For the detailed performance report see benchmarks