@e2/web

Enterprise Application Framework

Usage no npm install needed!

<script type="module">
  import e2Web from 'https://cdn.skypack.dev/@e2/web';
</script>

README

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