Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dynojs/coreDyno is a web framework for productivity.
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




JSR Score
88%
Published
9 months ago (0.4.35)
Dyno
An experimental web framework for Deno.
Getting Started
npx degit https://github.com/dynojs/template my-app cd my-app deno task start
Directory Structure
Dyno requires the following directory structure:
my-app/ ├── main.ts ├── controllers/ │ └── HelloController.ts
Controllers
In Dyno, controllers are used to define the routes and handle HTTP requests. Here is an example of a simple controller:
import { Controller, GET, inject, JsonResponder, Log, Request, } from "@dyno/core"; @Controller("/hello") export class HelloController { constructor( private log = inject(Log), private json = inject(JsonResponder), ) {} @GET("/") greet(req: Request) { this.log.info("greeting the user"); return this.json.ok({ hello: "world" }); } }
Contribute
Make a pull request.
Built and signed on
GitHub Actions
Add Package
deno add jsr:@dyno/core
Import symbol
import * as core from "@dyno/core";
Import directly with a jsr specifier
import * as core from "jsr:@dyno/core";
Add Package
pnpm i jsr:@dyno/core
pnpm dlx jsr add @dyno/core
Import symbol
import * as core from "@dyno/core";
Add Package
yarn add jsr:@dyno/core
yarn dlx jsr add @dyno/core
Import symbol
import * as core from "@dyno/core";
Add Package
vlt install jsr:@dyno/core
Import symbol
import * as core from "@dyno/core";
Add Package
npx jsr add @dyno/core
Import symbol
import * as core from "@dyno/core";
Add Package
bunx jsr add @dyno/core
Import symbol
import * as core from "@dyno/core";