Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@everymundo/em-cloudflare-route

Package Overview
Dependencies
Maintainers
34
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/em-cloudflare-route

Easily provision cloudflare route [Serverless Components](https://github.com/serverless/components).

  • 0.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
34
Created
Source

em-cloudflare-route

Easily provision cloudflare route Serverless Components.

 

  1. Install
  2. Create
  3. Configure
  4. Deploy

 

1. Install

$ npm i @everymundo/em-cloudflare-route@0.0.0

2. Create

$ mkdir demo de && cd demo

Just create a serverless.yml file

$ touch serverless.yml
$ touch .env      # your CF credentials
# .env
CF_ACCOUNT_ID=
CF_EMAIL=
CF_KEY=
CF_ZONE_ID=

3. Configure

Create a serverless.yml file:

# serverless.yml
name: demo
stage: dev
plugins:
   - serverless-dotenv-plugin
demo:
  #component: '@everymundo/em-cloudflare-route@0.0.0'
  component: '../'
  inputs:
      routeName: al-dev.com
      workerName: geoip
    
        

Use the environment variables CF_ACCOUNT_ID, CF_EMAIL, CF_KEY and CF_ZONE_ID to specify your Cloudflare API credentials.

4. Deploy

$ severless

 

New to Components?

Checkout the Serverless Components repo for more information.

Keywords

FAQs

Package last updated on 25 Mar 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc