@sirusdev/workerskv-uploader
v0.0.2
Published
tools to upload static assets to cloudflare workers KV
Keywords
Readme
Workers KV Uploader
static site file uploader to cloudflare workers KV
Quick Start
install as development dependency
npm i @sirusdev/workerskv-uploaderthis tools support
.envconfiguration file or you can setup environment manuallyCF_API_TOKEN="--cloudflare-api-token--" ACCOUNT_ID="--cloudlfare-account-id--" KV_NAMESPACE_ID="--workers-KV-namespace-id--" LOG_LEVEL="info" # debug, fatal, error, silent SITE_ASSETS_DIR="./dist" # where you put compiled front-endsadd deploy script to your
package.jsonfile{ "scripts": { "deploy": "workerskv-upload" } }run deployment script
npm run deploy
