ingress
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.16 • Public • Published

ingress logo

install: npm i ingress

a utility for building applications using TypeScript or JavaScript

Ingress CI Version License

Getting started (web):

//@filename: app.ts
import ingress, { Route } from "ingress";

class MyController {
    @Route.Get("/greet/:name")
    greeting(@Route.Param("name") name: string) {
        return `Hello ${name}`
    }
}

export const app = ingress(MyController)

//@filename: package.json
{
    "scripts": {
        "start": "ing start app.ts"
    }
}
``

/ingress/

    Package Sidebar

    Install

    npm i ingress

    Weekly Downloads

    143

    Version

    1.0.0-beta.16

    License

    MIT

    Unpacked Size

    47.9 kB

    Total Files

    22

    Last publish

    Collaborators

    • calebboyd