gatsby-source-cloudflare-workers-kv

1.0.3 • Public • Published

Cloudflare Workers KV - Gatsby Source Plugin

Usage

Add this plugin to the plugins array in gatsby-config.js like so...

module.exports = {
    plugins: [
        {
            resolve: `gatsby-source-cloudflare-workers-kv`,
            options: {
                accountId: ``,
                namespaceId: ``,
                apiToken: ``,
                email: ``,
                isBase64Encoded: false, // defaults to false
                uniqueKey: ``, // Defaults to "id"
                typeName: ``,
            }
        },
        ...
    ]
}

Package Sidebar

Install

npm i gatsby-source-cloudflare-workers-kv

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

4.5 kB

Total Files

5

Last publish

Collaborators

  • crocbuzz