UNPKG

@atjsh/llmlingua-2

Version:

JavaScript/TypeScript Implementation of LLMLingua-2

70 lines (69 loc) 1.46 kB
{ "name": "@atjsh/llmlingua-2", "version": "2.0.3", "packageManager": "yarn@4.9.1", "description": "JavaScript/TypeScript Implementation of LLMLingua-2", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/atjsh/llmlingua-2-js.git" }, "type": "module", "scripts": { "clean": "rimraf dist", "build": "tsc", "preversion": "rimraf dist && yarn build" }, "files": [ "dist", "!dist/e2e" ], "main": "dist/index.js", "types": "dist/index.d.ts", "publishConfig": { "access": "public" }, "dependencies": { "es-toolkit": "^1.38.0" }, "devDependencies": { "@huggingface/transformers": "^3.5.2", "@tensorflow/tfjs": "^4.22.0", "@types/node": "^22.15.18", "js-tiktoken": "^1.0.20", "rimraf": "^6.0.1", "typedoc": "^0.28.4", "typescript": "^5.8.3" }, "peerDependencies": { "@huggingface/transformers": "*", "@tensorflow/tfjs": "*", "js-tiktoken": "*" }, "keywords": [ "llmlingua", "llmlingua2", "llmlingua-2", "llm", "language model", "transformer", "javascript", "typescript", "summarization", "translation", "text generation", "text classification", "question answering", "named entity recognition", "sentiment analysis", "huggingface", "hf", "transformers", "tensorflow", "tfjs", "webgpu", "webassembly", "onnx", "onnxruntime" ] }