@yandex-cloud/function-types
v2.1.2
Published
TypeScript typings for Serverless Functions in Yandex.Cloud
Downloads
400
Readme
TypeScript type definitions for Yandex Cloud Functions
Installation
npm install -D @yandex-cloud/function-types
or yarn add -D @yandex-cloud/function-types
Usage
import { Handler } from '@yandex-cloud/function-types'
export const handler: Handler.Http = async (event, context) => {
// do something
return {
statusCode: 200,
body: 'hello world!'
};
}