Skip to content

Instantly share code, notes, and snippets.

View camjc's full-sized avatar

Cameron Chamberlain camjc

View GitHub Profile

Keybase proof

I hereby claim:

  • I am camjc on github.
  • I am camjc (https://keybase.io/camjc) on keybase.
  • I have a public key whose fingerprint is C18C 9489 C7EA 91E1 F461 3B57 17BB 45BB 9E2E DCB7

To claim this, I am signing this object:

const parallelLimit = require("async/parallelLimit");
const fs = require("fs");
const glob = require("glob");
const sanityClient = require("@sanity/client");
const client = sanityClient({
projectId: 'get a project id', // TODO: projectId needed
dataset: "production",
token: 'get a write token', // TODO: token needed
useCdn: false