Prerequisites
- Node.js: version 18 or higher
- Package Manager: npm, pnpm, or yarn
- TypeScript: version 5.0 or higher recommended
Install Package
Run the following command in your terminal to install the core gateway package:Dependencies
The core package is designed to be lightweight with minimal dependencies. However, depending on the adapters and backends you use, you may need additional packages:For Redis Sessions
If you plan to use Redis for session management:For Shopify Backend
If you use the built-in Shopify backend:For Hono Server
If you want to use the Hono-based HTTP adapter:TypeScript Configuration
Ensure yourtsconfig.json has esModuleInterop and skipLibCheck set to true:
tsconfig.json