Socket
Book a DemoInstallSign in
Socket

worker-functions

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

worker-functions

Full-stack Typesafety with Cloudflare Workers 👷

0.7.7
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Worker Functions

Full-stack Typesafety with Cloudflare Workers 👷

An opinionated SDK to get up and running with Cloudflare Workers:

  • Fully Typesafe, with frontend client inheriting arguments/return types directly from function definitions. 🦺
  • Just write Simple Functions, without requiring any manual calling and configuring of fetch requests. 🏃
  • Virtually no boilerplate - simply instantiate a client and get started. 🚀

Setup

Using your preferred package manager, install the worker-functions package, and wrangler, Cloudflare's command line tool for Workers. For example:

yarn add worker-functions 
yarn add wrangler -D

After the installation is complete, run:

npx worker-functions

This will generate a wrangler.json configuration file in your project root directory.

And you're done!

FAQs

Package last updated on 27 Feb 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.