Skip to main content
Home

@8v/send@0.1.20

latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
17%
Published
3 weeks ago (0.1.20)

Github Repo

Usage

#!/usr/bin/env bun

import * as CONF from "../../../js0/conf/status/NOTIFY.js";
import Send from "./mod.js";

const send = Send(CONF);

await send("测试", "正文");

Code

mod.js

import Send from "./Send.js";
import pushplus from "@8v/pushplus";
import lark from "@8v/lark";

export default (conf) => {
  const send_li = [],
    name_li = [];
  if (conf.LARK) {
    send_li.push(lark(conf.LARK));
    name_li.push("lark");
  }
  if (conf.PUSHPLUS) {
    send_li.push(pushplus(...conf.PUSHPLUS));
    name_li.push("pushplus");
  }
  return Send(send_li, name_li);
};

About

About

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@8v/send

Import symbol

import * as send from "@8v/send";
or

Import directly with a jsr specifier

import * as send from "jsr:@8v/send";

Add Package

pnpm i jsr:@8v/send
or (using pnpm 10.8 or older)
pnpm dlx jsr add @8v/send

Import symbol

import * as send from "@8v/send";

Add Package

yarn add jsr:@8v/send
or (using Yarn 4.8 or older)
yarn dlx jsr add @8v/send

Import symbol

import * as send from "@8v/send";

Add Package

vlt install jsr:@8v/send

Import symbol

import * as send from "@8v/send";

Add Package

npx jsr add @8v/send

Import symbol

import * as send from "@8v/send";

Add Package

bunx jsr add @8v/send

Import symbol

import * as send from "@8v/send";