> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://akamai.ferndocs.com/edge-workers/write-your-javascript-code/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://akamai.ferndocs.com/_mcp/server. # Write your JavaScript code Once the EdgeWorkers service is set up, you can write the JavaScript code you want to execute at the edge and [create a code bundle](/edge-workers/create-a-code-bundle). - If you're just getting started you can follow the steps in the [Hello World tutorial](hello-world-edgeworkers-management-application.md) . - You can also find several code samples, sorted by use case in the [EdgeWorkers GitHub repo](https://github.com/akamai/edgeworkers-examples/tree/master/edgecompute/examples). - Once you're ready, you can review the [JavaScript API reference](about-the-javascript-api.md) and start designing your own EdgeWorkers functions. When you're done creating your code bundle, you can return to Hello World to learn how to [deploy and test](deploy-hello-world-1.md) on the Akamai staging network. ## Docs - [JavaScript error handling](https://akamai.ferndocs.com/edge-workers/javascript-error-handling.md):