New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

napcon

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

napcon

Lightweight NapCat/Onebot v11 TypeScript library

latest
Source
npmnpm
Version
0.0.15
Version published
Maintainers
1
Created
Source

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.

Keywords

onebot

FAQs

Package last updated on 22 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts