
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@tinyhttp/app
Advanced tools
The core of tinyhttp. Contains the App, Request and Response. Additionally, it provides special tinyhttp-specific types.
pnpm i @tinyhttp/app
import { App } from '@tinyhttp/app'
import type { Request, Response, NextFunction } from '@tinyhttp/app'
new App()
.use((req: Request, res: Response, next: NextFunction) => {
console.log('Did a request')
next()
})
.get('/', (_, res) => res.send('<h1>Hello World</h1>'))
.get('/page/:page', (req, res) => res.send(`You opened ${req.params.page}`))
.listen(3000)
Express is a widely-used web framework for Node.js, known for its robust features and extensive middleware ecosystem. Compared to @tinyhttp/app, Express has a larger community and more plugins, but it is also heavier and may have slower performance.
Koa is a web framework designed by the creators of Express. It uses async functions and promises to provide a more modern and elegant API. Koa is more modular and lightweight than Express, but it requires more boilerplate code compared to @tinyhttp/app.
Fastify is a high-performance web framework for Node.js, designed for speed and low overhead. It offers a schema-based validation system and a powerful plugin architecture. Fastify is similar to @tinyhttp/app in terms of performance but has a different API and feature set.
FAQs
0-legacy, tiny & fast web framework as a replacement of Express
The npm package @tinyhttp/app receives a total of 287,144 weekly downloads. As such, @tinyhttp/app popularity was classified as popular.
We found that @tinyhttp/app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.