@gcoredev/fastedge-sdk-js
v1.1.0
Published
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/G-Core/FastEdge-sdk-js/deploy.yaml)](https://github.com/G-Core/FastEdge-sdk-js) [![GitHub commit activity](https://img.shields.io/github/commit-activity/t/G-Core/Fast
Downloads
85
Readme
FastEdge JS SDK
This is the Javascript SDK for building Javascript applications ready for deploying on FastEdge.
Getting Started
Please read through the documentation provided by Gcore.
- FastEdge: Overview
- User Guide: SDK Homepage
- Deploying an App: Documentation
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