
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@auto-engineer/emmett-generator
Advanced tools
Code generation plugin for the Auto Engineer CLI that scaffolds event-driven backends using the Emmett event sourcing framework. This plugin takes FlowLang specifications and generates GraphQL servers with commands, events, projections, and queries.
Code generation plugin for the Auto Engineer CLI that scaffolds event-driven backends using the Emmett event sourcing framework. This plugin takes FlowLang specifications and generates GraphQL servers with commands, events, projections, and queries.
This is a plugin for the Auto Engineer CLI. Install both the CLI and this plugin:
npm install -g @auto-engineer/cli
npm install @auto-engineer/emmett-generator
Add this plugin to your auto.config.ts
:
export default {
plugins: [
'@auto-engineer/emmett-generator',
// ... other plugins
],
};
This plugin provides the following commands:
generate:server
- Generate a GraphQL server from flow specificationsThe Emmett Generator transforms high-level flow specifications into event-driven backends. It generates:
When you run auto generate:server
, the plugin creates a complete backend project:
server/
├── src/
│ ├── domain/
│ │ ├── commands/ # Command handlers
│ │ ├── events/ # Event definitions
│ │ ├── projections/ # Read model projections
│ │ └── queries/ # Query handlers
│ ├── graphql/
│ │ ├── resolvers/ # GraphQL resolvers
│ │ └── schema.ts # Generated schema
│ ├── infrastructure/
│ │ ├── eventStore.ts # Event store setup
│ │ └── commandBus.ts # Command bus configuration
│ └── server.ts # Application entry point
├── tests/ # Generated test suites
└── package.json
All generated code is fully typed using TypeScript, ensuring compile-time safety and developer experience.
Built on Emmett's event sourcing patterns:
Generated servers include:
Uses EJS templating system for code generation:
This plugin is designed to work with @auto-engineer/flowlang
specifications:
auto export:schema
auto generate:server
# 1. Create a flow specification project
auto create:example
# 2. Define your business flows in flows/
# Edit flows/order-management.flow.ts
# 3. Generate the backend server
auto generate:server
# 4. The generated server is ready to run:
cd server
npm install
npm run start
Override default templates by providing your own EJS files:
.auto-engineer/templates/
Works with other Auto Engineer plugins:
Customize generation behavior through auto.config.ts
:
export default {
plugins: [
[
'@auto-engineer/emmett-generator',
{
outputDir: './backend',
templateOverrides: './templates',
generateMigrations: true,
},
],
],
};
The Emmett Generator bridges the gap between high-level business requirements and backend infrastructure, enabling development of scalable, maintainable applications.
FAQs
Code generation plugin for the Auto Engineer CLI that scaffolds event-driven backends using the Emmett event sourcing framework. This plugin takes FlowLang specifications and generates GraphQL servers with commands, events, projections, and queries.
We found that @auto-engineer/emmett-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.