inferis-ml 1.0.0 → 1.0.2

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 (2) hide show
  1. package/README.md +5 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,8 +3,12 @@
3
3
  Worker pool for running AI models in the browser — WebGPU/WASM auto-detection, model lifecycle management, token streaming, and cross-tab deduplication.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/inferis-ml)](https://npmjs.com/package/inferis-ml)
6
- [![bundle size](https://img.shields.io/bundlephobia/minzip/inferis-ml)](https://bundlephobia.com/package/inferis-ml)
6
+ [![bundle size](https://img.shields.io/badge/minzip-6.7%20kB-blue)](https://npmjs.com/package/inferis-ml)
7
7
  [![coverage](https://img.shields.io/badge/coverage-93%25-green)](https://github.com/pashunechka/inferis-ml)
8
+ [![npm downloads](https://img.shields.io/npm/dw/inferis-ml)](https://npmjs.com/package/inferis-ml)
9
+ [![license](https://img.shields.io/npm/l/inferis-ml)](https://github.com/pashunechka/inferis-ml/blob/main/LICENSE)
10
+ [![Known Vulnerabilities](https://snyk.io/test/github/pashunechka/inferis-ml/badge.svg)](https://snyk.io/test/github/pashunechka/inferis-ml)
11
+ [![GitHub stars](https://img.shields.io/github/stars/pashunechka/inferis-ml?style=social)](https://github.com/pashunechka/inferis-ml)
8
12
 
9
13
  > **[Live Examples](https://pashunechka.github.io/inferis-ml/)** — run AI models directly in your browser, no server needed.
10
14
 
@@ -397,18 +401,6 @@ module.exports = {
397
401
  };
398
402
  ```
399
403
 
400
- ### Inline Worker (no bundler config needed)
401
-
402
- ```typescript
403
- import { createPool } from 'inferis-ml';
404
- import { inlineWorkerUrl } from 'inferis-ml/worker-inline';
405
-
406
- const pool = await createPool({
407
- adapter: transformersAdapter(),
408
- workerUrl: inlineWorkerUrl(), // creates a Blob URL
409
- });
410
- ```
411
-
412
404
  ## Browser Support
413
405
 
414
406
  | Feature | Chrome | Firefox | Safari | Edge | iOS Safari | Android Chrome |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inferis-ml",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "author": "pashunechka",
5
5
  "description": "Worker pool for running AI models in the browser — WebGPU/WASM auto-detection, model lifecycle, streaming, cross-tab dedup",
6
6
  "license": "MIT",