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

@everymundo/cloudflare-kv

Package Overview
Dependencies
Maintainers
34
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/cloudflare-kv

Easily provision KV namespaces and its values on Cloudflare [Serverless Components](https://github.com/serverless/components).

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
34
Created
Source

Cloudflare KV

Easily provision KV namespaces and its values on Cloudflare Serverless Components.

 

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

 

1. Install

$ npm install -g @everymundo/cloudflare-kv

2. Create

$ mkdir demo && 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_TOKEN=

3. Configure

Create a serverless.yml file:

# serverless.yml
name: test
stage: dev
plugins:
   - serverless-dotenv-plugin
test:
  component: "@everymundo/cloudflare-kv"
  inputs:
    namespace: mydomain.com
    values:
      - key: key1
        value: vakue1
      - key: key2
        value: value2    

Use the environment variables CF_ACCOUNT_ID, CF_EMAIL and CF_KEY or CF_TOKEN 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 24 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