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

serverchan-sdk

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverchan-sdk

Server酱官方SDK,支持 ESM/CMD ,兼容 Nodejs/Web。使用示例:

latest
npmnpm
Version
1.0.6
Version published
Weekly downloads
95
23.38%
Maintainers
0
Weekly downloads
 
Created
Source

serverchan-sdk

Server酱官方SDK,支持 ESM/CMD ,兼容 Nodejs/Web。使用示例:

import { scSend } from 'serverchan-sdk';
const ret = await scSend('sendkey', 'title', 'description can be markdown', {tags:'服务器报警|图片'})
console.log(ret);

options:

{
    /** SC3专用:标签列表,多个标签使用竖线分隔 */
    tags?: string;
    /** SC3和SCT:消息卡片的简短描述 */
    short?: string;
    /** SCT:是否隐藏调用IP,1为隐藏 */
    noip?: 1;
    /** SCT:推送使用的消息通道,多个通道值用竖线隔开 */
    channel?: string;
    /** SCT:消息抄送的 openid,多个 openid 用逗号或竖线分隔 */
    openid?: string;
}

FAQs

Package last updated on 15 Oct 2024

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