Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgck81lnn/koishi-plugin-miniplug
在 Koishi 控制台中编写简单 JavaScript 插件 Code simple JavaScript plugins in your Koishi console
https://github.com/dgck81lnn/koishi-plugin-miniplug
codemirror6 koishi koishi-plugin koishijs koishijs-plugin
Last synced: 4 days ago
JSON representation
在 Koishi 控制台中编写简单 JavaScript 插件 Code simple JavaScript plugins in your Koishi console
- Host: GitHub
- URL: https://github.com/dgck81lnn/koishi-plugin-miniplug
- Owner: DGCK81LNN
- License: mit
- Created: 2024-06-09T08:43:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T16:21:52.000Z (4 months ago)
- Last Synced: 2024-09-22T13:05:00.279Z (about 2 months ago)
- Topics: codemirror6, koishi, koishi-plugin, koishijs, koishijs-plugin
- Language: Vue
- Homepage:
- Size: 73.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# koishi-plugin-miniplug
[![koishi-plugin-miniplug](https://img.shields.io/npm/v/koishi-plugin-miniplug?label=koishi-plugin-miniplug&style=flat-square)](https://www.npmjs.com/package/koishi-plugin-miniplug) [![koishi-plugin-codemirror](https://img.shields.io/npm/v/koishi-plugin-codemirror?label=koishi-plugin-codemirror&style=flat-square)](https://www.npmjs.com/package/koishi-plugin-codemirror)
在 Koishi 控制台中编写简单 JavaScript 插件
![](images/screenshot.png)
## 用法
安装 [`koishi-plugin-codemirror`](plugins/codemirror/) 和 `koishi-plugin-miniplug`。添加并启用控制台插件 `codemirror` 后,就可以添加任意数量的 `miniplug` 插件,然后通过其 `code` 配置项编写自定义插件了。