@e2/web
TypeScript icon, indicating that this package has built-in type declarations

1.2.65 • Public • Published

Web Application Stack for Enterprise

What is this?

  • A framework to develop universal web application which able to run inside Express.js, Koa, Hapi or Lambda without any code changes

Example

import { controller, method } from '@e2/web'

@controller('/api')
class EchoController {

  @method('GET', '/hello')
  hello(ctx: any) {
    return 'hello'
  }

}

Metadata

📦  @e2/web@1.1.11
=== Tarball Contents ===
611B   package.json
52B    COPYRIGHT
921B   README.md
24.9kB lib/index.d.ts
38.8kB lib/index.esm.js
106B   lib/index.esm.js.map
41.9kB lib/index.js
102B   lib/index.js.map
=== Tarball Details ===
name:          @e2/web
version:       1.1.11
package size:  28.0 kB
unpacked size: 107.4 kB
shasum:        b8c302c33bc4a2bb40d9afd92480f7499a5e8d73
integrity:     sha512-k2STt6w40rpE9[...]AUN1LbSODcFKA==
total files:   8

Dependents (3)

Package Sidebar

Install

npm i @e2/web

Weekly Downloads

2

Version

1.2.65

License

none

Unpacked Size

105 kB

Total Files

8

Last publish

Collaborators

  • e2admin
  • e2tox