open-index/open-npm huggingface dataset:
npm package: @mengjx/jinrishici
Description: 获取今日诗词，更优雅的esm和ts类型支持
Author: GraciaMeng
Latest version: 1.0.2

今日诗词API 是一个可以免费调用的诗词接口：[https://www.jinrishici.com](https://www.jinrishici.com)

该包是引入官方 SDK，通过esm、Typescript开发（支持类型推断）
支持esm、commonjs模块直接引入

每次调用返回一句诗词，根据时间、地点、天气、事件智能推荐

npm(yarn、pnpm) 安装后，引入本模块，调用 load 方法。

```javascript esm
import { load } from '@mengjx/jinrishici'
async function loadPoetry() {
	const result = await load()
	console.log(result);
}
```
仅支持浏览器环境中调用，不支持 Node 环境，不支持服务器渲染，请打包时注意。
React.js、Vue.js的服务端渲染需要判断是否浏览器环境
npm package: @mengkailun/component-cli
Description: This is a component quick build library
Author: mengkailun
Latest version: 1.0.5

# 组件开发脚手架

### 全局安装方式

---

npm install -g @mengkailun/component-cli

### 使用方法

```
显示所有命令
component-cli -h / --help

显示版本号
component-cli -v / --version

初始化
component-cli -i / --init

```
npm package: @mengkodingan/tolog
Description: something useless
Author: JstnLT
Latest version: 1.0.2

```js
const { toLog } = require("@mengkodingan/tolog");

/* 
toLog(type, text, indicatorText = default to undefined)

type: 1 = info,
      2 = success,
      3 = warning,
      4 = error
      
you can use <b>TEXT</b> for bolding the text
*/
toLog(1, "text", undefined);
toLog(3, "text", "test");
toLog(2, "aaa <b>text</b>")
```

<div align="center">
    <a href="https://imgbb.com/"><img src="https://i.ibb.co/DfCkk2X/image.png" alt="image" border="0"></a>
</div>
npm package: @menglinmaker/soundfont3
Description: A SoundFont3 parser for Node.js and web browsers
Author: Meng Lin
Latest version: 0.3.1

<h1 align="center">soundfont3.js</h1>

<div flex align="center">
<img alt="GitHub" src="https://img.shields.io/github/license/menglinmaker/soundfont3">
<img src="https://img.shields.io/github/actions/workflow/status/menglinmaker/soundfont3/CI.yml">
<a href="https://badge.fury.io/js/@menglinmaker%2Fsoundfont3"><img src="https://badge.fury.io/js/@menglinmaker%2Fsoundfont3.svg" alt="npm version"></a>
<a href="https://npm-stat.com/charts.html?package=soundfont3"><img src="https://img.shields.io/npm/dm/soundfont3.svg" alt="npm version"></a>
</div>

<h4 align="center">Parse and write SoundFont3 and SoundFont2.</h4>

```bash
pnpm i @menglinmaker/soundfont3
```
For examples and API details, visit the [documentation website](http://localhost:5173/routes/1.%20Guide/README.html).

&nbsp;

## What does this solve?
**Reduce CDN bandwidth up to 25x**

SoundFont2 files contain audio samples in WAV format. [SoundFont3](https://github.com/musescore/sftools) uses OGG VORBIS compression - at the cost of audio quality (if you can hear the difference).

## Standard compliance

The parser and writer complies with [SoundFont 2.01 specification](http://www.synthfont.com/SFSPEC21.PDF).

However, this also means the SoundFont3 implementation deviates from the unofficial standard set by [MuseScore](https://musescore.org/en). Nevertheless, editors like [Polyphone](https://github.com/davy7125/polyphone) can read this SoundFont3 file.

Note: [MuseScore](https://musescore.org/en) SoundFont3 breaks the [RIFF file](https://en.wikipedia.org/wiki/Resource_Interchange_File_Format) standard. This is the main reason for compatability issues.

## Caveats

Besides the potential compliance issues, There are a few limitations:
* SoundFont3 converter requires [Node.js](https://nodejs.org) and [FFMPEG](https://ffmpeg.org/).
* The web SoundFont2 converter is UI blocking - AudioContext cannot initialise on a separate process (Web Worker).

Note: Try [caching](https://developer.mozilla.org/en-US/docs/Web/API/Cache/add) the processed file as memiosation.
npm package: @mengshouer/koishi-plugin-barcodedecoder
Description: Decode a 1D or 2D barcode/qrcode from an image
Latest version: 1.1.0

# @mengshouer/koishi-plugin-barcodedecoder

[![npm](https://img.shields.io/npm/v/@mengshouer/koishi-plugin-barcodedecoder?style=flat-square)](https://www.npmjs.com/package/@mengshouer/koishi-plugin-barcodedecoder)

Decode a 1D or 2D barcode/qrcode from an image

从图片中解码1D或2D条形码/二维码
npm package: @mengshouer/koishi-plugin-cat
Description: get a random cat image
Latest version: 1.1.0

# @mengshouer/koishi-plugin-cat

[![npm](https://img.shields.io/npm/v/@mengshouer/koishi-plugin-cat?style=flat-square)](https://www.npmjs.com/package/@mengshouer/koishi-plugin-cat)

获取随机猫咪图片！

## 使用方法

```
botcmd-cat
```

命令会返回一张随机的可爱猫咪图片。
npm package: @mengshouer/koishi-plugin-dog
Description: get a random dog image
Latest version: 1.1.0

# @mengshouer/koishi-plugin-dog

[![npm](https://img.shields.io/npm/v/@mengshouer/koishi-plugin-dog?style=flat-square)](https://www.npmjs.com/package/@mengshouer/koishi-plugin-dog)

获取随机狗狗图片！

## 使用方法

```
botcmd-dog
```

命令会返回一张随机的可爱狗狗图片。
npm package: @mengshouer/koishi-plugin-filelink
Description: get file link and automatically convert files
Latest version: 1.0.1

# @mengshouer/koishi-plugin-filelink

[![npm](https://img.shields.io/npm/v/@mengshouer/koishi-plugin-filelink?style=flat-square)](https://www.npmjs.com/package/@mengshouer/koishi-plugin-filelink)

Currently only the onebot protocol is supported

Automatically convert files to the corresponding format for sending

if it can't be converted, send the file link
npm package: @mengshouer/koishi-plugin-random_repeater
Description: 随机复读机，从第2条复读，即第3条重复消息开始有几率触发复读
Latest version: 1.0.0

# @mengshouer/koishi-plugin-random-repeater

[![npm](https://img.shields.io/npm/v/@mengshouer/koishi-plugin-random-repeater?style=flat-square)](https://www.npmjs.com/package/@mengshouer/koishi-plugin-random-repeater)

# 随机复读机

不复读率 随 复读次数 指数级衰减

从第2条复读，即第3条重复消息开始有几率触发复读

a 设为一个略大于1的小数，最好不要超过2，建议1.6

复读概率计算式：p_n = 1 - 1/a^n

递推式：p_n+1 = 1 - (1 - p_n) / a


参考：https://github.com/Ice9Coffee/HoshinoBot/blob/master/hoshino/modules/groupmaster/random_repeater.py
npm package: @mengxk2008/aliyun-cdn-cli
Description: aliyun cdn cli for refresh and push in shell
Author: Mejor
Latest version: 1.0.8

# aliyun-cdn-cli
阿里云 CDN CLI，可以快速刷新，预热等

[阿里云CDN介绍](https://help.aliyun.com/document_detail/120427.html)

## 安装
```
npm install @mengxk2008/aliyun-cdn-cli --save-dev
```

## 配置
项目根目录创建配置文件 `aliyun.config.json`，配置阿里云CDN的 AK & SK：
```
{ 
  "accessKeyId": "-",
  "accessKeySecret": "-" 
}
```

## 选项
更多命令 `npx aliyun-cdn-cli --help`
```
  -i, --AccessKeyId <value>             阿里云凭证
  -k, --AccessKeySecret <value>         阿里云密钥
  -c, --config<value>                   自定义配置文件，默认读取./aliyun.config.json
  -f, --refreshPath <dir/file>          刷新目录或文件的地址：有特殊字符先做URLencode，以加速域名开头，多个以\\n隔开
  -o, --refreshType <Directory/File>    刷新类型：[Directory=目录(默认),File=文件][可选]
  -t, --taskType <refresh/push>         任务类型:[refresh=刷新(默认),push=预热]
  -h, --help                            查看帮助
  -v, --version                         查看版本
```

## 使用
[刷新缓存](https://help.aliyun.com/document_detail/91164.html) 被刷新的文件缓存将立即失效，新的请求将回源获取最新的文件，支持URL批量刷新。
```
npx aliyun-cdn-cli -f http://yourcdndomain/img/
npx aliyun-cdn-cli -f http://yourcdndomain/img/1.png[\\nhttp://yourcdndomain/img/2.png]
```

[预热源站](https://help.aliyun.com/document_detail/91161.html) 将源站的内容主动预热到L2缓存节点上。您首次访问可直接命中缓存，缓解源站压力。
```
npx aliyun-cdn-cli -t push -f http://yourcdndomain/img/1.png
```

## 常见问题
[如何判断CDN的预热任务是否执行完成](https://help.aliyun.com/document_detail/40132.htm?spm=a2c4g.11186623.0.0.6a9473fe41cTBp)

[使用CDN后，文件与源文件不一致，如何刷新缓存](https://help.aliyun.com/document_detail/147730.html)
npm package: @mengxk2008/aliyun-oss-cli
Description: aliyun oss cli for upload etc. in shell
Author: Mejor
Latest version: 1.1.9

# aliyun-oss-cli
阿里云 OSS CLI， 可以快速进行文件上传等

## 安装

```
npm install @mengxk2008/aliyun-oss-cli --save-dev
```

## 配置

项目根目录创建配置文件 `aliyun.config.json`，配置阿里云OSS的 AK & SK：

```
{
  "region": "-",
  "bucket": "-",
  "accessKeyId": "-",
  "accessKeySecret": "-",
  "envConf": {
    "dev": {
      "source": "dist/",
      "target": "home/dev/"
    },
    "sta": {
      "source": "dist/",
      "target": "home/sta/"
    },
    "prod": {
      "source": "dist/",
      "target": "home/prod/"
    }
  }
}
```

## 运行

```
# 测试
npx aliyun-oss-cli --env dev

# 预发布
npx aliyun-oss-cli --env sta

# 生产
npx aliyun-oss-cli --env prod
```

更多命令 `npx aliyun-oss-cli --help`：

```
aliyun-oss-cli [options]
--help               查看帮助
--version            查看版本
--config             配置文件路径 默认: ./aliyun.config.json
--delete             上传前清空目标文件夹 默认：否
--env                发布环境 例如: dev sta prod
--source             本地静态文件路径 例如: dist/
--target             阿里云 OSS 文件路径 例如: static/home/
--accessKeyId        阿里云 OSS accessKeyId
--accessKeySecret    阿里云 OSS accessKeySecret
--bucket             阿里云 OSS bucket
--region             阿里云 OSS region
```

## Thanks

[https://github.com/mazeyqian/aliyunoss-cli](https://github.com/mazeyqian/aliyunoss-cli) [mazeyqian]