Socket
Socket
Sign inDemoInstall

@konsumation/cloudflare-worker

Package Overview
Dependencies
312
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @konsumation/cloudflare-worker

konsum api in a cloudflare worker


Version published
Weekly downloads
3
decreased by-25%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

npm License bundlejs downloads Build Status

Router

This template demonstrates using the itty-router package to add routing to your Cloudflare Workers.

index.js is the content of the Workers script.

Wrangler

You can use wrangler to generate a new Cloudflare Workers project based on this template by running the following command from your terminal:

wrangler generate myapp https://github.com/cloudflare/worker-template-router

Before publishing your code you need to edit wrangler.toml file and add your Cloudflare account_id - more information about configuring and publishing your code can be found in the documentation.

Once you are ready, you can publish your code by running the following command:

wrangler publish

FAQs

Last updated on 30 Mar 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc