2.1.1 • Published 1 year ago
@yandex-cloud/function-types v2.1.1
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!'
};
}