azure-functions-types
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Azure Functions Types
Functions Types

Azure Functions Type Definitions for TypeScript

Install

npm install --save azure-functions-types

Usage

import { HttpContext, FunctionRequest, HttpStatusCodes } from 'azure-functions-types'
 
export const index = (context: HttpContext, req: FunctionRequest) => {
  if (req.method === 'GET')
    context.res.status = HttpStatusCodes.OK
 
  context.done(null, {})
}

License

MIT

This project is based on the previous work of Christopher Andersson

Readme

Keywords

none

Package Sidebar

Install

npm i azure-functions-types

Weekly Downloads

131

Version

0.2.0

License

MIT

Unpacked Size

15.5 kB

Total Files

15

Last publish

Collaborators

  • kube