2.1.2 • Published 12 months ago
@yandex-cloud/function-types v2.1.2
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!'
};
}