@xberg-io/liter-llm-wasm 2.1.2 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/liter_llm_wasm.d.ts +1114 -6
- package/liter_llm_wasm.js +1311 -13
- package/liter_llm_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:d435bb4c09ec1efc4608d879e729b839859acfd603151f1dd697f09c9299d856 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
</a>
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
|
-
Universal LLM API client for browsers and WebAssembly runtimes. Access
|
|
90
|
+
Universal LLM API client for browsers and WebAssembly runtimes. Access 174 LLM providers with portable deployment across browsers, Deno, and Cloudflare Workers.
|
|
91
91
|
|
|
92
92
|
## What This Package Provides
|
|
93
93
|
|
|
@@ -183,7 +183,7 @@ console.log();
|
|
|
183
183
|
|
|
184
184
|
## Features
|
|
185
185
|
|
|
186
|
-
### Supported Providers (
|
|
186
|
+
### Supported Providers (174)
|
|
187
187
|
|
|
188
188
|
Route to any provider using the `provider/model` prefix convention:
|
|
189
189
|
|
|
@@ -203,7 +203,7 @@ Route to any provider using the `provider/model` prefix convention:
|
|
|
203
203
|
|
|
204
204
|
### Key Capabilities
|
|
205
205
|
|
|
206
|
-
- **Provider Routing** -- Single client for
|
|
206
|
+
- **Provider Routing** -- Single client for 174 LLM providers via `provider/model` prefix
|
|
207
207
|
- **Local LLMs** — Connect to locally-hosted models via Ollama, LM Studio, vLLM, llama.cpp, and other local inference servers
|
|
208
208
|
- **Unified API** -- Consistent `chat`, `chat_stream`, `embeddings`, `list_models` interface
|
|
209
209
|
- **Streaming** -- Real-time token streaming via `chat_stream`
|
|
@@ -224,7 +224,7 @@ Built on a compiled Rust core for speed and safety:
|
|
|
224
224
|
|
|
225
225
|
## Provider Routing
|
|
226
226
|
|
|
227
|
-
Route to
|
|
227
|
+
Route to 174 providers using the `provider/model` prefix convention:
|
|
228
228
|
|
|
229
229
|
```text
|
|
230
230
|
openai/gpt-4o
|
|
@@ -260,7 +260,7 @@ To use the MCP server inside a coding agent, install the **liter-llm plugin** fr
|
|
|
260
260
|
|
|
261
261
|
- **[Documentation](https://docs.liter-llm.xberg.io)** -- Full docs and API reference
|
|
262
262
|
- **[GitHub Repository](https://github.com/xberg-io/liter-llm)** -- Source, issues, and discussions
|
|
263
|
-
- **[Provider Registry](https://github.com/xberg-io/liter-llm/blob/main/schemas/providers.json)** --
|
|
263
|
+
- **[Provider Registry](https://github.com/xberg-io/liter-llm/blob/main/schemas/providers.json)** -- 174 supported providers
|
|
264
264
|
|
|
265
265
|
## Part of Xberg.io
|
|
266
266
|
|
|
@@ -268,7 +268,7 @@ To use the MCP server inside a coding agent, install the **liter-llm plugin** fr
|
|
|
268
268
|
- [Xberg Enterprise](https://github.com/xberg-io/xberg-enterprise) — managed extraction API with SDKs, dashboards, and observability.
|
|
269
269
|
- [crawlberg](https://github.com/xberg-io/crawlberg) — web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
|
|
270
270
|
- [html-to-markdown](https://github.com/xberg-io/html-to-markdown) — fast, lossless HTML→Markdown engine.
|
|
271
|
-
- [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and
|
|
271
|
+
- [liter-llm](https://github.com/xberg-io/liter-llm) — universal LLM API client with native bindings for 14 languages and 174 providers.
|
|
272
272
|
- [tree-sitter-language-pack](https://github.com/xberg-io/tree-sitter-language-pack) — tree-sitter grammars and code-intelligence primitives.
|
|
273
273
|
- [alef](https://github.com/xberg-io/alef) — the polyglot binding generator that produces every per-language binding across the 5 polyglot repos.
|
|
274
274
|
- [Discord](https://discord.gg/xt9WY3GnKR) — community, roadmap, announcements.
|