napconnect
v0.0.10
Published
Lightweight NapCat/Onebot v11 TypeScript library
Maintainers
Readme
NapCon
Moved to
napcon
A lightweight TypeScript library for NapCat and OneBot v11.
Note: This library is currently in active development. APIs are subject to change.
Features
- Ultra-lightweight: Zero dependencies, ~1.7KB gzipped.
- Simple API: Connect to the server with a single
open(...)method. - TypeScript First: Comprehensive type definitions for events and methods.
- Rich Utilities: Built-in message builders, guards, and helper functions.
Example
Check out examples/main.ts for usage examples.
