To use this SDK call the default export with your HelpHero App ID. Checkout the Javascript docs for full list of available methods
import initHelpHero from 'helphero';
const helphero = initHelpHero('<YOUR_HELPHERO_APP_ID>');
helphero.anonymous();
The npm package comes bundled with definitions for both TypeScript and Flow.