@llmtrim/wasm 0.2.1 → 0.3.1
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 +13 -0
- package/package.json +4 -2
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @llmtrim/wasm
|
|
2
|
+
|
|
3
|
+
Alias for [`@llmtrim/js`](https://www.npmjs.com/package/@llmtrim/js) — the
|
|
4
|
+
WebAssembly/JS binding for the [llmtrim](https://github.com/fkiene/llmtrim)
|
|
5
|
+
compression engine. Installing this package pulls in `@llmtrim/js` at the same
|
|
6
|
+
version and re-exports it, so both names resolve to the identical API.
|
|
7
|
+
|
|
8
|
+
```js
|
|
9
|
+
import { compress } from "@llmtrim/wasm"; // same as "@llmtrim/js"
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
See the [`@llmtrim/js` README](https://www.npmjs.com/package/@llmtrim/js) for the
|
|
13
|
+
full API and usage.
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmtrim/wasm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Alias for @llmtrim/js, the llmtrim WebAssembly binding.",
|
|
5
|
+
"keywords": ["llm", "tokens", "compression", "proxy", "openai", "anthropic", "claude", "wasm", "webassembly"],
|
|
5
6
|
"license": "MPL-2.0",
|
|
7
|
+
"homepage": "https://github.com/fkiene/llmtrim",
|
|
6
8
|
"repository": { "type": "git", "url": "https://github.com/fkiene/llmtrim" },
|
|
7
9
|
"type": "module",
|
|
8
10
|
"main": "index.js",
|
|
9
11
|
"module": "index.js",
|
|
10
12
|
"types": "index.d.ts",
|
|
11
|
-
"dependencies": { "@llmtrim/js": "0.
|
|
13
|
+
"dependencies": { "@llmtrim/js": "0.3.1" }
|
|
12
14
|
}
|