UNPKG

@mlc-ai/web-llm

Version:

Hardware accelerated language model chats on browsers

61 lines (60 loc) 1.75 kB
{ "name": "@mlc-ai/web-llm", "version": "0.2.78", "description": "Hardware accelerated language model chats on browsers", "main": "lib/index.js", "types": "lib/index.d.ts", "type": "module", "scripts": { "build": "rollup -c && ./cleanup-index-js.sh", "lint": "npx eslint ./src/ ./tests/ ./examples/ && npx prettier ./src/ ./tests/ ./examples/ --check", "test": "yarn jest", "format": "prettier --write \"./src/\" \"./examples/\" \"./tests/\"", "prepare": "husky" }, "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/mlc-ai/web-llm" }, "keywords": [ "llm", "large language model", "machine learning" ], "license": "Apache-2.0", "homepage": "https://github.com/mlc-ai/web-llm", "devDependencies": { "@mlc-ai/web-tokenizers": "^0.1.5", "@next/eslint-plugin-next": "^14.2.3", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@types/chrome": "^0.0.266", "@types/jest": "^29.5.11", "@types/serviceworker": "^0.0.86", "@typescript-eslint/eslint-plugin": "^5.59.6", "@typescript-eslint/parser": "^5.59.6", "@webgpu/types": "^0.1.24", "buffer": "^5.7.1", "eslint": "^8.41.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.11", "jest": "^29.7.0", "prettier": "3.2.5", "process": "^0.11.10", "rollup": "^2.56.2", "rollup-plugin-ignore": "^1.0.10", "rollup-plugin-typescript2": "^0.34.1", "ts-jest": "^29.1.2", "tslib": "^2.3.1", "@mlc-ai/web-runtime": "0.18.0-dev2", "@mlc-ai/web-xgrammar": "0.1.0", "typescript": "^4.9.5" }, "dependencies": { "loglevel": "^1.9.1" } }