1.1.0 • Published 8 months ago

@gcoredev/fastedge-sdk-js v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

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