Skip to content

Instantly share code, notes, and snippets.

@tonyspiro
Created August 24, 2022 14:21
Show Gist options
  • Save tonyspiro/0981b1071c0e460e65ef5d0573fe9fb3 to your computer and use it in GitHub Desktop.
Save tonyspiro/0981b1071c0e460e65ef5d0573fe9fb3 to your computer and use it in GitHub Desktop.
Import the Cosmic NPM module
const Cosmic = require("cosmicjs");
const api = Cosmic();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment