atsjj / lambda

Open Function Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lambda

Open Function Library

About

This library grew out of the need to DRY up a lot of my existing OpenFaaS services. My goal with this project is to make the implementation surface area of those services as small as possible.

Installation

npm install --save @atsjj/lambda

Usage

import { AbstractApplication, createApplication } from '@atsjj/lambda';

class Application extends AbstractApplication {
  async perform(payload: any): Promise<any> {
    ...
  }
}

createApplication(Application, process.cwd());

About

Open Function Framework

License:MIT License


Languages

Language:TypeScript 88.7%Language:Handlebars 7.7%Language:JavaScript 3.5%