scanic 1.0.4 → 1.0.6

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 +9 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -17,6 +17,8 @@
17
17
 
18
18
  Scanic is a high-performance document scanner library that brings professional-grade document edge detection and perspective correction to the browser and Node.js. By combining **Rust-powered WebAssembly** for pixel crunching and **GPU-accelerated Canvas** for image warping, Scanic delivers near-native performance (~10ms transforms) with a tiny footprint.
19
19
 
20
+ [**Live Demo**](https://marquaye.github.io/scanic/demo.html) | [**Framework Examples**](#💻-framework-examples) | [**API Reference**](#⚙️-api-reference)
21
+
20
22
  ---
21
23
 
22
24
  ## 🚀 Why Scanic?
@@ -60,6 +62,13 @@ yarn add scanic
60
62
 
61
63
  ---
62
64
 
65
+ ## 🎮 Demo
66
+
67
+ Try the interactive scanner in your browser:
68
+ 👉 [**Open Scanic Live Demo**](https://marquaye.github.io/scanic/demo.html)
69
+
70
+ ---
71
+
63
72
  ## 📖 Usage
64
73
 
65
74
  ### Simple Usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scanic",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Modern document scanner in pure JavaScript and Wasm",
5
5
  "type": "module",
6
6
  "main": "dist/scanic.umd.cjs",
@@ -16,7 +16,7 @@
16
16
  "scripts": {
17
17
  "dev": "vite",
18
18
  "build": "vite build",
19
- "build:gh-pages": "vite build && cp index.html dist/ && cp -r src dist/ && cp -r testImages dist/ && cp -r public/* dist/ 2>/dev/null || true",
19
+ "build:gh-pages": "vite build && node scripts/post-build.js",
20
20
  "build:wasm": "docker compose -f dev/docker-compose.yml up --build",
21
21
  "test": "vitest run",
22
22
  "test:watch": "vitest",