File size: 2,663 Bytes
1944112
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "name": "everything-webgpu",
  "version": "0.1.0",
  "description": "Firefox WebExtension and embeddable library that runs local MLC/WebLLM models on WebGPU, with a priority scheduler, multi-step decoding, and models from HuggingFace, your own URL, or injected straight from disk.",
  "scripts": {
    "build": "node build.mjs",
    "check": "node build.mjs --check-entries",
    "test": "node --test test/webllm-contract.test.mjs test/patches.test.mjs test/readme.test.mjs test/api-doc.test.mjs test/examples.test.mjs test/license.test.mjs test/integration.test.mjs test/scheduler.test.mjs test/multistep.test.mjs test/environment.test.mjs test/sources.test.mjs test/prefetch.test.mjs test/embed.test.mjs test/recipes.test.mjs test/errors.test.mjs test/chat.test.mjs test/device.test.mjs test/manage.test.mjs",
    "package": "npm run build && node build.mjs --zip",
    "e2e": "node test/e2e/run.mjs",
    "verify-consumer": "node test/consumer/verify.mjs",
    "bench": "node test/e2e/bench.mjs",
    "types": "tsc -p tsconfig.json",
    "prepare": "node build.mjs",
    "prepublishOnly": "npm run types && npm test",
    "contract": "node --test test/webllm-contract.test.mjs",
    "verify-patches": "node build.mjs --verify-patches"
  },
  "author": "nyaaorick",
  "license": "ISC",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/nyaaorick/everything-webgpu.git"
  },
  "homepage": "https://github.com/nyaaorick/everything-webgpu#readme",
  "bugs": "https://github.com/nyaaorick/everything-webgpu/issues",
  "dependencies": {
    "@mlc-ai/web-llm": "0.2.84"
  },
  "devDependencies": {
    "acorn": "^8.18.0",
    "esbuild": "^0.28.2",
    "typescript": "^5.9.2"
  },
  "type": "module",
  "types": "types/engine/index.d.ts",
  "exports": {
    ".": {
      "types": "./types/engine/index.d.ts",
      "default": "./src/engine/index.js"
    },
    "./worker": "./src/engine/engine-worker.js",
    "./vite": {
      "types": "./types/vite.d.ts",
      "default": "./src/vite.js"
    },
    "./adapters/idb": {
      "types": "./types/adapters/idb.d.ts",
      "default": "./src/adapters/idb.js"
    },
    "./adapters/memory": {
      "types": "./types/adapters/memory.d.ts",
      "default": "./src/adapters/memory.js"
    },
    "./adapters/webext": {
      "types": "./types/adapters/webext.d.ts",
      "default": "./src/adapters/webext.js"
    },
    "./adapters/protocol": {
      "types": "./types/adapters/protocol.d.ts",
      "default": "./src/adapters/protocol.js"
    }
  },
  "files": [
    "src/engine",
    "src/adapters",
    "src/vite.js",
    "types",
    "vendor/web-llm.js",
    "THIRD-PARTY-NOTICES.md"
  ]
}