Skip to content

G-Core/FastEdge-sdk-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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