active-connect

Connection framework built for smart web-based projects using NodeJS, Angular and Websockets.

Usage no npm install needed!

<script type="module">
  import activeConnect from 'https://cdn.skypack.dev/active-connect';
</script>

README

Run Jest Tests

Active-Connect

Connection framework built for smart web-based projects using NodeJS, Angular and Websockets.

This project is developed right now. Stay tuned.

Decorators

Annotations

@Outbound("libraries")
@SubscribeChanges
function asdf() {

}

@Route("updatelibrary")
@Modifies("libraries")
function update(lib) {

}


for class and function
@StandaloneRoute("xy.xy",baseRoute?)
@Outbound("xy",requireRequesting?: boolean) for function
@Auth(x extends WebsocketAuthenticator)
@SubscribeChanges
@Modifies(method... Array<String>)

@ProvidesFile(label) + ProvidedFile
@ProvidesImage(label) + ProvidedImage