- Fast — Stric is one of the fastest Bun frameworks. See benchmark for more details.
- Minimal — The basic components like
@stricjs/routerand@stricjs/utilsare under 50kB and require no external dependencies. - Extensible — Stric includes with a plugin system, dependency injection, and optional optimizations for handling requests.
Use
bun init to create an empty project.
terminal
To implement a simple HTTP server with StricJS:
index.ts
To serve static files from
/public:
index.ts
Run the file in watch mode to start the development server.
terminal
For more info, see Stric’s documentation.