Getting started with Edge Functions is easier than ever! Now you can use the Netlify CLI to create an edge function within your project from a template. These templates can be used to explore potential use cases for edge functions or be used as a jumping-off point for writing your own edge functions.
Install the latest version of Netlify CLI by running
npm install netlify-cli -g, then run
netlify/edge-functions directory. Specify a path for your edge function to be invoked on, then visit that path to see your new Edge Function in action!
Questions? Comments? Let us know what you think.