New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@2hemi/backendgen

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2hemi/backendgen

Deterministic NestJS, Prisma, and PostgreSQL backend compiler for AI coding agents.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

BackendGen

BackendGen is a deterministic backend compiler for AI coding agents. An agent writes a compact backendcompiler.dev/v1 YAML or JSON specification; BackendGen validates it and generates a tested NestJS, Prisma, and PostgreSQL repository plus a typed TypeScript client.

CLI

npx @2hemi/backendgen init backend.yaml --name my-api
npx @2hemi/backendgen validate backend.yaml
npx @2hemi/backendgen generate backend.yaml --output ./backend

Preview regeneration before writing:

npx @2hemi/backendgen diff backend.yaml --output ./backend

For agent integration, install the companion @2hemi/backendgen-mcp package.

BackendGen is licensed under Apache-2.0. Generated projects belong to their users and have no BackendGen runtime dependency.

Keywords

ai

FAQs

Package last updated on 19 Jul 2026

Related posts