Ask me anything

Hamburger

Installation

Install the package and verify the build in a Node or bundler environment.

Package managers

npm install heylock

Node version

Use an actively supported LTS release (>= 18) for fetch and ESM stability.

Environment variable

Store the agent key outside source control.

HEYLOCK_AGENT_KEY=YOUR_KEY

Minimal verification script

1import Heylock from 'heylock'; 2 3const agent = new Heylock(process.env.HEYLOCK_AGENT_KEY); 4 5while (!agent.isInitialized) { 6 await new Promise((resolve) => setTimeout(resolve, 50)); 7} 8 9console.log('Initialized:', agent.isInitialized);

Run verification

node verify.mjs

Explore