Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastly-compute

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastly-compute

Gatsby Hosting

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Fastly-Compute

fastly-compute is an assemblyscript project that is deployed to Fastly to use their Compute@Edge functionality.

Installation

  1. Need to install the Fastly command line
  • brew install fastly/tap/fastly
  • alternate os install instructions
  1. Run fastly configure to make sure you have the token. Ask Dustin McCraw for non development tokens. In dev you can get the FASTLY_GATSBY_HOSTING_TOKEN from the dev-monolith/local.env
  • fastly configure

Deploy

  1. Build the assembly script files
  • fastly compute build
  1. Deploy the service
  • yarn fastly:deploy:dev
  • yarn fastly:deploy:staging
  • yarn fastly:deploy:prod

Developing

  1. Tail the logs to get any Console.log or exception handling
  • fastly logs tail

Fastly CLI

AssemblyScript

Fastly Compute@Edge used AssemblyScript

AssemblyScript Introduction

FAQs

Package last updated on 21 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc