@yandex-cloud/function-types
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

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!'
    };
}

Package Sidebar

Install

npm i @yandex-cloud/function-types

Weekly Downloads

24

Version

2.1.1

License

MIT

Unpacked Size

21.4 kB

Total Files

60

Last publish

Collaborators

  • yc-ui-bot
  • seqvirioum
  • resure
  • amje
  • yandex-cloud-bot
  • monsterzz