Skip to content

suisanka/napcon

Repository files navigation

NapCon

A lightweight TypeScript library for NapCat and OneBot v11.

Note: This library is currently in active development. APIs are subject to change.

Check out DeepWiki for more documentation.

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

This is a simple example of using NapCon to respond to group at messages with Hello, [nickname]!. Example

Check out examples for usage examples.

About

Lightweight NapCat/OneBot v11 TypeScript library

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors