/cf-functions

A framework designed to make using AWS CloudFront Functions easy.

Primary LanguageTypeScript

CF-Functions

This framework is designed to make using AWS CloudFront Functions easy. Its aim is to shield developers from the complexity of the AWS API, letting them focus on the things that matter. Typescript is supported out of the box and a number of useful types at your fingertips.

Features

⌨️ Typescript

Typescript is enabled by default. No need to compile to Javascript, we got you covered.

Modular CLI commands are provided for creating, testing and deploying functions. Using the commands it's a breeze to automate your CI/CD workflow.

🧪 Testing

No nasty surprises. Ensure quality releases by creating and maintaining a suite of tests associated with your CloudFront Functions, using the built-in testing framework.

Under the hood, dotenv is used to load environment configuration at runtime with zero setup, simply create a .env file and plug in your variables.

Getting Started

Go to the setup page to get started.

Examples

Reference folder structure and example projects can be found in the examples directory on GitHub.