This is the Javascript SDK for building Javascript applications ready for deploying on FastEdge.
Please read through the documentation provided by Gcore.
- FastEdge: Overview
- User Guide: SDK Homepage
- Deploying an App: Documentation
Required:
- Node v18 or higher
Setup:
npm install --save-dev @gcoredev/fastedge-sdk-js
async function app(event) {
const request = event.request;
return new Response(`You made a request to ${request.url}`);
}
addEventListener('fetch', (event) => {
event.respondWith(app(event));
});
For more information on how this works please visit our user guide and homepage