koishi-plugin-glot
TypeScript icon, indicating that this package has built-in type declarations

1.1.6 • Public • Published

koishi-plugin-glot

npm

在 Koishi 中使用 glot.io 执行代码。

配置项

apiToken

  • 类型: string

申请到的 API 令牌。

defaultLanguage

  • 类型: string
  • 默认值: 'javascript'

默认的执行语言。

指令: glot

支持的语言:

assembly, ats, bash, c, clojure, cobol, coffeescript, cpp, crystal, csharp, d, elixir, elm, erlang, fsharp, go, groovy, haskell, idris, java, javascript, julia, kotlin, lua, mercury, nim, nix, ocaml, perl, php, python, raku, ruby, rust, scala, swift, typescript

  • 基本语法: glot <code>
  • 选项列表:
    • -l, --language <language> 语言
    • -s, --stdin <stdin> 标准输入

Package Sidebar

Install

npm i koishi-plugin-glot

Weekly Downloads

31

Version

1.1.6

License

MIT

Unpacked Size

6.63 kB

Total Files

7

Last publish

Collaborators

  • shigma
  • anillc