fdk-tmp
fdk-tmp copied to clipboard
The Serverless Function Development Kit (FDK)
fdk
The Serverless Function Development Kit (FDK)
The Serverless FDK is designed to ease the adoption of serverless technology. It provides a simple middleware abstraction for adding functionality and migrating existing solutions (like Express) without having to rewrite your code. It further enables runtime interaction with Serverless Services including invoking functions and dispatching events to the target Service.
Build Status
Usage
// index.js
const fdk = require('@serverless/fdk')
const myHandler = fdk()
.handler(() => 'Hello World')
module.exports.myHandler = myHandler
# serverless.yml
service:
name: my-service
functions:
myHandler:
handler: index.myHandler
Documentation
Full API documentation - Learn about available methods and concepts.
Examples
Plenty of examples - Examples for various cloud providers and uses of functionality.
Install
npm install --save @serverless/fdk
