anyformer 0.0.0-stage → 0.0.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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +29 -2
  3. package/package.json +11 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Chirag Patnaik
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,30 @@
1
- # Temporary Holding Version
1
+ # anyformer.js
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ One call to run any model in a browser tab: it picks the back end that fits the model's format, architecture and your
4
+ GPU budget.
5
+
6
+ ## Install
7
+
8
+ Not usable yet. `anyformer@0.0.1` on npm is a name placeholder with no code.
9
+
10
+ ## What it is
11
+
12
+ A superset runtime for in-browser inference. `load(modelId, { budget })` probes the browser (WebGPU features, GPU
13
+ budget, OPFS quota, memory64), resolves the model to a back end, and exposes one generate / pipeline API:
14
+
15
+ - **transformers.js** — ONNX, breadth across modalities.
16
+ - **diskformer** — models larger than GPU memory: weights in OPFS, only what each step needs on the GPU.
17
+ - **llama.cpp on WebGPU + diskformer** — GGUF across llama.cpp's architectures (after the diskformer spike).
18
+ - **LocalMind's hand engines** — the fastest path on the few models they cover.
19
+
20
+ One model store (diskformer's OPFS layer) serves every back end, so a model downloads once.
21
+
22
+ ## Context
23
+
24
+ Scaffolded 2026-10-07 from the diskformer.js proposal
25
+ (`diskformer.js/plan/coverage-and-superset-proposal-2026-10.md`, §4). It depends on diskformer; diskformer never depends
26
+ on it. Tier: Product.
27
+
28
+ ## License
29
+
30
+ MIT
package/package.json CHANGED
@@ -1,6 +1,13 @@
1
1
  {
2
2
  "name": "anyformer",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.1",
4
+ "description": "One call to run any model in a browser tab: picks the back end that fits the model's format, architecture and your GPU budget. Pre-release name placeholder; no code yet.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "Chirag Patnaik",
8
+ "homepage": "https://github.com/NakliTechie/anyformer.js#readme",
9
+ "repository": { "type": "git", "url": "git+https://github.com/NakliTechie/anyformer.js.git" },
10
+ "bugs": { "url": "https://github.com/NakliTechie/anyformer.js/issues" },
11
+ "keywords": ["webgpu", "llm", "inference", "browser", "transformers", "gguf", "onnx", "diskformer"],
12
+ "files": ["README.md", "LICENSE"]
13
+ }