Skip to content

HeryJs

Generate once. Own your code. Structure everything.

HeryJs is a set of conventions on top of NestJS, plus a CLI that generates a fully wired resource from a single declarative blueprint: module, DTO, presets, policy, record loader, service, controller, factory, view and test spec — ten files in one pass, all owned by you afterward.

Terminal window
pnpm dlx heryjs new my-app

That writes a standalone project and the CLI it carries. Everything after it is pnpm hery from inside — see the CLI.

Generate once

The generator creates a resource and then steps out of the way. Nothing re-runs against a module you already touched.

Own your code

Generated files are plain, readable NestJS. No runtime magic, no hidden proxy reading your blueprint after the fact.

Capabilities, not roles

Every resource resolves { allowed, scope } in memory against an already-loaded record. No per-item query, no leaked business rules on the client.

One search contract

Pagination limits, sortable fields and filterable fields are declared once in the blueprint. The generated controller enforces exactly that contract.