// To store it you could do:
const boardme = window.boardme;
// To use it within TypeScript projects could could do:
declare const boardme: any;
// It is a good idea to play it safe when importing external packages.
// A quick check before using the API is good practice!
boardme && boardme.apiCall();