
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@nl-framework/http
Advanced tools
HTTP server adapter for nl-framework built on Bun, with routing, middleware, and controller integration.
HTTP routing primitives for the Nael Framework featuring controllers, route decorators, middleware, and guard integration.
bun add @nl-framework/http
Import reflect-metadata in your entry point if you haven’t already:
import 'reflect-metadata';
@Controller, @Get, and @UseGuards.class-transformer, stripped of unknown properties, and rejected with a structured 400 response when invalid.@nl-framework/auth to secure routes using session guards or middleware.import { Controller, Get, Post, Body, Param } from '@nl-framework/http';
import { Module } from '@nl-framework/core';
import { bootstrapHttpApplication } from '@nl-framework/platform';
import { IsEmail, IsOptional, IsString } from 'class-validator';
class CreateUserDto {
@IsEmail()
email!: string;
@IsOptional()
@IsString()
name?: string;
}
@Controller('/users')
class UsersController {
private readonly users = new Map<string, { id: string; email: string; name?: string }>();
@Get('/')
list() {
return Array.from(this.users.values());
}
@Get('/:id')
findOne(@Param('id') id: string) {
return this.users.get(id);
}
@Post('/')
create(@Body() body: CreateUserDto) {
const id = crypto.randomUUID();
const user = { id, email: body.email, name: body.name };
this.users.set(id, user);
return user;
}
}
@Module({ controllers: [UsersController] })
class AppModule {}
const app = await bootstrapHttpApplication(AppModule, { port: 3000 });
await app.start();
console.log('HTTP server ready on http://localhost:3000');
Apache-2.0
FAQs
HTTP server adapter for nl-framework built on Bun, with routing, middleware, and controller integration.
We found that @nl-framework/http demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.