Install
The Keywork library is framework agnostic, modular, and compatible with Cloudflare Workers, Deno, and Node.js.
Creating a new app from scratch
If you're using Cloudflare, or would like to start from a template, checkout the Keywork Starter Kit. The kit includes support for React, TypeScript, and ESBuild.
Adding Keywork to your existing codebase
Keywork is often added to an existing web app when a developer wants to migrate their deployment to a V8 Isolate runtime, such as Cloudflare Workers or Deno.
- Yarn
- NPM
Let's start by adding Keywork to your project via Yarn:
Run in the root of your project.
$ yarn add keywork
Let's start by adding Keywork to your project via NPM:
Run in the root of your project.
$ npm install keywork
If your app uses React...
You'll need additional peer dependencies:
- NPM
- Yarn
Run in the root of your project.
$ npm install --save react react-dom
Run in the root of your project.
$ yarn add react react-dom