Official Packages
These packages are maintained by the VK-IO core team:@vk-io/authorization
User authorization by login & password, implicit flow, and more
@vk-io/session
Simple implementation of sessions for stateful bots
@vk-io/scenes
Middleware-based scene management for conversation flows
@vk-io/streaming
Receive real-time data with VK Streaming API
@vk-io/hear
Pattern matching for text messages (hear handlers)
@vk-io/stateless-prompt
Stateless prompt implementation for asking questions
Community Packages
User Interaction
vk-io-question
vk-io-question
Repository: fakemancat/vk-io-questionSimple promise-based prompt for asking users questions and waiting for responses.
vk-io-pages
vk-io-pages
Repository: MrZillaGold/vk-io-pagesDynamic pagination module for creating paginated menus and lists with keyboard navigation.Perfect for:
- Displaying long lists across multiple pages
- Creating navigable catalogs
- Building interactive menus with navigation buttons
Bot Frameworks
henta
henta
Repository: u14-team/hentaA simple and lightweight VK bot engine built on top of VK-IO.Features:
- Easy-to-use command system
- Built-in middleware support
- Simplified bot development workflow
Storage & State Management
vk-io-redis-storage
vk-io-redis-storage
Repository: xtcry/vk-io-redis-storageRedis storage adapter for @vk-io/session.Perfect for production environments where you need persistent session storage across bot restarts.
Framework Integrations
nestjs-vk
nestjs-vk
Repository: xtcry/nestjs-vkNestJS module for integrating VK-IO with NestJS framework.Features:
- Dependency injection for VK-IO instances
- Decorator-based update handlers
- Seamless integration with NestJS ecosystem
Installation
All packages can be installed using your preferred package manager:Contributing Your Module
Built something useful for the VK-IO community? We’d love to feature it here!Ensure quality
Make sure your package:
- Has clear documentation
- Includes TypeScript typings
- Is published on npm
- Has a public GitHub repository
Submit a request
Create a new issue on the VK-IO repository with:
- Package name and npm link
- GitHub repository link
- Brief description of functionality
- Example usage code
Package Guidelines
When building packages for VK-IO, consider these best practices:TypeScript Support
Include TypeScript definitions for better developer experience
Documentation
Provide clear README with installation and usage examples
Peer Dependencies
List vk-io as a peer dependency to avoid version conflicts
Testing
Include tests to ensure reliability and prevent regressions
Package naming convention: Use
vk-io-* prefix for community packages to make them easily discoverable on npm.Related Resources
Contributing Guide
Learn how to contribute to VK-IO core
Examples
Explore example implementations