0xtanzim/nextRush — reverse-engineered prompt
Reverse engineered prompt
Build me a small but fast TypeScript framework for Node called NextRush. I want it to feel simple for everyday backend work, with a tiny core and optional add ons instead of one huge package. It should let people create an app, define routers, mount feature routes, and handle requests through one clean context object with things like params, query, body, headers, status, json, html, redirect, and shared state for middleware.
Please make the core focused on performance and modern async code, with no unnecessary runtime baggage. I also want separate optional packages for common middleware like body parsing, CORS, security headers, rate limiting, compression, and cookies, plus optional extras for static files, websockets, templates, logging, and events. It would be great if people can choose either a simple functional style or a class based controller style with decorators and dependency injection.
Also include a project scaffolder, solid examples, and benchmark scripts so people can quickly try it and compare speed. Look up current docs online if you need to.
Want more depth? Deep Reverse