
Research
/Security News
GlassWASM: WebAssembly Malware Found in Trojanized Open VSX Extensions
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.
create-fastify-oop-decorators
Advanced tools
The official scaffolding CLI tool to quickly bootstrap a Fastify application using **[fastify-oop-decorators](https://github.com/WaRtr0/fastify-oop-decorators)**.
The official scaffolding CLI tool to quickly bootstrap a Fastify application using fastify-oop-decorators.
Get a NestJS-like Developer Experience (DX) with the raw performance of Fastify in seconds.
tsconfig.json with strict mode, experimentalDecorators, and emitDecoratorMetadata.npm, pnpm, yarn, and bun.The easiest way to get started is to use npx. Run the following command in your terminal:
npx create-fastify-oop-decorators@latest my-awesome-api
You will be prompted to choose your preferences:
ajv-decorators for class-based DTO validation?Once the setup is complete, navigate into your new project and start the development server:
cd my-awesome-api
npm run dev
You can bypass the interactive prompts by passing command-line arguments. This is perfect for CI/CD environments or quick setups.
npx create-fastify-oop-decorators@latest my-api --use-pnpm --ajv --biome --yes
| Flag | Description |
|---|---|
--use-npm | Explicitly use npm to install dependencies. |
--use-pnpm | Explicitly use pnpm to install dependencies. |
--use-yarn | Explicitly use yarn to install dependencies. |
--use-bun | Explicitly use bun to install dependencies. |
--ajv / --no-ajv | Include (or exclude) ajv-decorators for DTO validation. |
--eslint | Initialize the project with an ESLint configuration. |
--biome | Initialize the project with a Biome configuration. |
--no-linter | Skip linter configuration entirely. |
--yes | Use your previously saved preferences (or defaults) without prompting. |
--reset-preferences | Clear the saved preferences from your machine. |
By default, the CLI generates a modular, enterprise-ready architecture:
my-awesome-api/
├── src/
│ ├── hello/
│ │ ├── dto/
│ │ │ └── sayHelloPost.dto.ts # (If ajv-decorators is enabled)
│ │ ├── hello.controller.ts # Example Controller
│ │ ├── hello.module.ts # Module grouping Controller & Service
│ │ └── hello.service.ts # Example injectable Service
│ ├── plugins/
│ │ ├── ajv-decorators-plugin.ts # (If ajv-decorators is enabled)
│ │ └── bootstrap-plugin.ts # Fastify OOP injection setup
│ ├── app.module.ts # Root module
│ ├── build-app.ts # Fastify instance builder (Great for testing!)
│ └── index.ts # Entry point (Server listen)
├── package.json
├── tsconfig.json
└── eslint.config.mjs / biome.json # Depending on your linter choice
Inside your newly created project, you can run:
npm run dev: Starts the application in watch mode using tsx.npm run build: Compiles the TypeScript code into the dist/ folder.npm start: Runs the compiled application.npm run lint: Runs your chosen linter (ESLint or Biome) to check your codebase.This project is licensed under the MIT License.
FAQs
The official scaffolding CLI tool to quickly bootstrap a Fastify application using **[fastify-oop-decorators](https://github.com/WaRtr0/fastify-oop-decorators)**.
The npm package create-fastify-oop-decorators receives a total of 5 weekly downloads. As such, create-fastify-oop-decorators popularity was classified as not popular.
We found that create-fastify-oop-decorators 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
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.