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