
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
A minimalist file-based full-stack framework for Node.js, inspired by Next.js App Router. Supports routes, queues, cron jobs and boot scripts by convention.
Zetten is a minimalist, file-based full-stack framework for Node.js — inspired by the App Router concept from Next.js. It automatically loads HTTP routes, queues, cron jobs, and bootstrap scripts based on the file system.
Zetten is currently in active development. Expect breaking changes and missing features as the framework evolves.
npm install zetten fastify
# or
pnpm add zetten fastify
Zetten uses
fastify
as a peer dependency (for now), so make sure to install it manually.
Create the following structure:
.
├── index.ts
└── routes/
└── get.handler.ts
index.ts
import { Zetten } from 'zetten';
import { FastifyAdapter } from 'zetten/core/server/adapter/fastify';
import { HandlerPlugin } from 'zetten/handler';
const zetten = new Zetten({
adapter: new FastifyAdapter(),
port: 3030,
});
zetten.registerPlugin(new HandlerPlugin('./routes'));
zetten.start();
routes/get.handler.ts
import { FastifyRequest, FastifyReply } from 'fastify';
import { HandlerOptions } from '@zetten/handler';
export async function handler(_: FastifyRequest, reply: FastifyReply) {
reply.send({ hello: 'zetten' });
}
export const options: HandlerOptions = {
schema: {}, // You can define params, body, query validation here using Zod
};
Run your app and visit: http://localhost:3030 You should see:
{ "hello": "zetten" }
Zetten will automatically scan and load files based on folder + filename conventions:
Plugin | File Pattern |
---|---|
Routes | **/*.handler.ts |
Queue | **/*.worker.ts |
Cron Jobs | **/*.cron.ts |
Bootstrap | **/*.boot.ts |
All plugins are optional and modular.
zetten dev
, zetten build
, etc)MIT © 2025 Mayron Fernandes
---
Se quiser, posso também gerar badges (`npm`, `license`, `build passing`, etc), um `CHANGELOG.md` ou um gerador de projeto (`create-zett-app`). Me avisa o que quiser expandir!
FAQs
A minimalist file-based full-stack framework for Node.js, inspired by Next.js App Router. Supports routes, queues, cron jobs and boot scripts by convention.
The npm package zetten receives a total of 2 weekly downloads. As such, zetten popularity was classified as not popular.
We found that zetten 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.