netlify-functions

安装量: 558
排名: #9433

安装

npx skills add https://github.com/netlify/context-and-tools --skill netlify-functions

Netlify Functions Modern Syntax Always use the modern default export + Config pattern. Never use the legacy exports.handler or named handler export. import type { Context , Config } from "@netlify/functions" ; export default async ( req : Request , context : Context ) => { return new Response ( "Hello, world!" ) ; } ; export const config : Config = { path : "/api/hello" , } ; The handler receives a standard Web API Request and returns a Response . The second argument is a Netlify Context object. Show more Installs 530 Repository netlify/context…nd-tools GitHub Stars 18 First Seen Feb 27, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜