Zum Inhalt springen
Kitbay
Einreichen

netlify-functions

MIT

Netlify's own skill for writing serverless functions on Netlify in TypeScript, JavaScript or Go.

Was der Skill vermittelt

Netlify's own skill for writing serverless functions on Netlify in TypeScript, JavaScript or Go. It tells the agent where function files go, the handler shape that takes a web Request and a Netlify Context and returns a Response, how to set custom paths, scheduled and background functions, streaming responses, reading environment variables and secrets, and testing locally with netlify dev. The agent loads it as reference while coding; deploying the result needs a Netlify site.

Funktionen

  • Write Netlify Functions with the modern handler shape
  • Set custom routes for functions
  • Create scheduled and background functions
  • Read environment variables and secrets in a function
  • Test functions locally with netlify dev