@webfaas/webfaas-core
TypeScript icon, indicating that this package has built-in type declarations

0.13.1 • Public • Published

WebFaas Core

Minimalist FaaS framework for node.

NPM Version Linux Build Test Coverage

FaaS Micro Framework

Example

import { Core } from "@webfaas/webfaas-core";

const core = new Core();

(async function(){
    let msg = {} as IMessage
    msg.header.name = "@registry1/mathmessage";
    msg.header.version = "0.0.1";
    msg.payload = {x:2, y:3};
    var response: any = await core.sendMessage(msg);
    if (response){
        console.log("response", response);
    }
    else{
        console.log("not response");
    }
})();

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @webfaas/webfaas-core

Weekly Downloads

0

Version

0.13.1

License

MIT

Unpacked Size

274 kB

Total Files

170

Last publish

Collaborators

  • rogeriodegoiania