Installation
Using the Verdocs JS SDK is easy, and usually takes only a few minutes to add to a project.
Installation
Begin by installing the Verdocs JS SDK in your project:
# NPM
npm i -S @verdocs/js-sdk
# Yarn
yarn add @verdocs/js-sdk
# PNPM
pnpm add @verdocs/js-sdk
Once the library is installed, importing and using it is easy:
import {VerdocsEndpoint, getTemplates} from '@verdocs/js-sdk';
const templates = await getTemplates(VerdocsEndpoint.getDefault());
console.log('My templates', templates);