https://github.com/ys-sudo/edge-functions-examples
https://github.com/ys-sudo/edge-functions-examples
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ys-sudo/edge-functions-examples
- Owner: Ys-sudo
- Created: 2024-04-20T00:38:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T00:40:00.000Z (about 2 years ago)
- Last Synced: 2024-12-31T12:31:03.195Z (over 1 year ago)
- Language: JavaScript
- Size: 601 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# [Netlify Edge Functions](https://www.netlify.com/products/?utm_campaign=devex&utm_source=edge-functions-examples&utm_medium=github&utm_content=Edge%20Functions%20Product%20Page#netlify-edge-functions) Examples
Explore these examples here: https://edge-functions-examples.netlify.app/
## Responses
- [Hello, world](/pages/hello)
- [Return JSON](/pages/json)
- [Return an image](/pages/image)
## Rewrites and proxies
- [Rewrite responses from another URL](/pages/rewrite)
- [Proxy requests to another source](/pages/proxy-requests)
## HTTP Headers
- [Set custom HTTP request headers](/pages/set-request-header)
- [Set custom HTTP response headers](/pages/set-response-header)
## Transforming responses
- [HTML transformation](/pages/htmlrewriter)
- [Text transformation](/pages/transform)
- [Content includes](/pages/include)
## Geolocation
- [Determine a user's location](/pages/geolocation)
- [Block content according to country](/pages/country-block)
- [Serve localized content](/pages/localized-content)
## Cookies
- [Set cookies](/pages/cookies-set)
- [Read cookies](/pages/cookies-read)
- [Delete cookies](/pages/cookies-delete)
- [Set up an A/B test using cookies](/pages/abtest)
## Streams
- [Long-running edge functions](/pages/long-running)
- [Server-sent events](/pages/server-sent-events)
## WebAssembly
- [Edge WebAssembly](/pages/wasm)
## Environment and debugging
- [Write to the logs](/pages/log)
- [Use environment variables](/pages/environment)
---
## Deploy this site to Netlify
Click this button to deploy this site automatically to your Netlify account.
[](https://app.netlify.com/start/deploy?repository=https://github.com/netlify/edge-functions-examples&utm_campaign=devex&utm_source=edge-functions-examples&utm_medium=web&utm_content=Deploy%20Edge%20Functions%20Examples%20to%20Netlify)