UNPKG

llmtrim

Version:

A library for trimming tokens in encoding and decoding in LLM applications.

42 lines 992 B
{ "name": "llmtrim", "version": "1.4.0", "description": "A library for trimming tokens in encoding and decoding in LLM applications.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "test": "jest", "test:compression": "jest src/encoder.spec.ts", "release": "light-release", "publish:npm": "tsc && npm publish" }, "keywords": [ "token", "llm", "gpt", "trimmer", "encoding", "decoding" ], "author": "Vincenzo Manto", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/VincenzoManto/llmtrim.git" }, "bugs": { "url": "https://github.com/VincenzoManto/llmtrim/issues" }, "homepage": "https://github.com/VincenzoManto/llmtrim#readme", "devDependencies": { "@types/jest": "^29.5.14", "jest": "^29.7.0", "light-release": "^2.9.1", "ts-jest": "^29.3.4", "typescript": "^5.8.3" }, "dependencies": { "natural": "^8.1.0" } }