Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.63 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.63 KB

FastEdge JS SDK

GitHub Actions Workflow Status GitHub commit activity GitHub top language GitHub License NPM Version

This is the Javascript SDK for building Javascript applications ready for deploying on FastEdge.

Getting Started

Please read through the documentation provided by Gcore.

Installation

Required:

  • Node v18 or higher

Setup:

  • npm install --save-dev @gcoredev/fastedge-sdk-js

Basic Javascript Example

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));
});

Home Page

For more information on how this works please visit our user guide and homepage