SDK CommonJS Examples
Collection of CommonJS examples for environments that don't support ES modules, maintaining compatibility with older Node.js setups.
sdk
commonjs
cjs
These examples demonstrate ChatBotKit SDK usage with CommonJS modules for compatibility with older Node.js environments or projects that haven't migrated to ES modules.
The architecture uses require() instead of import, making these examples work in environments where ES modules aren't available or preferred.
This pattern is important for maintaining compatibility with legacy systems or projects that need to support older Node.js versions.