Overwolf Development Kit
Overview
The ODK is the Overwolf Development Kit for TypeScript. It is designed to simplify and enhance Overwolf app development by providing a modern, type-safe API.
Key features
- Easy creation and management of Desktop and OSR windows.
- Create windows dynamically at runtime without pre-defining them in the manifest file.
- Type-safe window options and positioning.
- Utility methods for working with window IDs and the current window.
- Monitor helper utilities for multi-monitor setups.
- All window actions are asynchronous and return Promises for easy integration with async/await workflows.
Current status
- Window Management—the current version focuses on dynamic window management, including creation, control, and positioning of both desktop and OSR (Off-Screen Rendering) windows, as well as utilities for working with monitors and window states.
- Future Plans—the ODK will expand to wrap more of the Overwolf API, providing a unified, type-safe toolkit for Overwolf app developers.
Installing the ODK
This module requires Node 22.0.0 or later.
npm install @overwolf/odk-ts
How to build the package
Production build
Run:
npm run buildpackage
- Outputs to the
distfolder. - Creates an npm package archive:
package.tgz.
Development build (with Source Maps)
Run:
npm run builddevpackage
This is the same as the production build, but includes source map files for easier debugging.