The PublicSquare JavaScript Elements SDK
Using Node Package Manager
npm install --save @publicsquare/publicsquare-js
Using Yarn
yarn add @publicsquare/publicsquare-js
For a complete list of options and examples, please refer to our JavaScript Elements SDK docs
import { PublicSquare } from '@publicsquare/publicsquare-js';
const psq = await new PublicSquare().init('<API Key>'); // replace with your Publishable API key