Umajs Deno Version, with Full Functions Of Umajs

Umajs Deno Version, with Full Functions Of Umajs

umajs-deno Umajs deno version, with full functions of Umajs.


[Umajs]( deno 版本,拥有 Umajs 全量功能。


clone the current project, at the root of execution deno run --allow-read --allow-net -c tsconfig.json app/app.tsafter the visit http: // localhost: 3000


import { Router } from "";

  await Router({
    ROOT: __dirname(import.meta),
import {
} from "";

import { test, test1 } from "../decorators/AroundTest.ts";
import { TestMiddleware } from "../middlewares/Test.ts";
import Test from "../service/Test.ts";

// When Path modifies class, the parameter is the root route (the parameter can only be one) 
// When Path modifies the method, the parameter is the method route (there can be multiple parameters) 
@ Around ( test ) 
@ Around ( test1 ) 
export  default  class  Index  extends  BaseController  { 
  @ Inject ( Test ) 
  t : Test ;

  index() {

    return Result.view("index.ejs", { frameName: "Umajs" });

  @Path({ value: "/post", method: RequestMethod.POST })
  post() {
    return this.sendData("This is post page.");

  @ Path ( "/test/:name" ) 
  @ Middleware ( TestMiddleware ) 
  test ( @ Param ( "name" )  name : string )  { 
    console . Log ( ` Enter method, parameter: ${JSON.stringify(name)}`);
    return Result.send(`Here is the test page, address ${ this . Req . Url . Pathname } ` ) ; 

  // Privatization method, no route will not enter this action 
  hehe ( ) {
    return this.sendData("hehe");

Download Details:

Author: Umajs

Source Code:

deno nodejs node javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AEM Querybuilder for JavaScript (Browser, Node, Deno)

Helix Querybuilder .AEM Querybuilder for JavaScript (Browser, Node, Deno)

NKeys for JavaScript - Node.js, Browsers, and Deno

A public-key signature system based on Ed25519 for the NATS ecosystem system for JavaScript. The nkeys.js library works in Deno, Node.js, and the browser!

Javascript module for easily generating mazes,compatible with both Deno and Node

A work-in-progress Javascript maze generator module, compatible with both Deno and Node.

Deno Tutorial for Beginners: Deno vs. Node: Better Than NodeJS?

Deno is released, it’s time to find out if it can prove a worthy competition for Node.js. What is Deno? Why Deno can be considered an alternative to Node? The main differences between Deno and Node. Write a simple Deno app.

What is Deno? The Node.JS Killer? The Deno-minator to Node?

What is Deno? The Node.JS Killer? The Deno-minator to Node? Deno is the new hype and will it be better than node.js? Deno is a secure runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language that addresses Node’s shortcomings