scan2form 1.3.0-dev.0 → 1.3.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.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ import { Scan2Form } from 'scan2form';
|
|
|
19
19
|
|
|
20
20
|
const scanner = new Scan2Form();
|
|
21
21
|
|
|
22
|
-
// Triggers the scan and populates the input with
|
|
22
|
+
// Triggers the scan and populates the input with the scanned file.
|
|
23
23
|
await scanner.scanToInput('my-input');
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -34,13 +34,13 @@ if (result.success) {
|
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
That's it! The file input is now populated with
|
|
37
|
+
That's it! The file input is now populated with the scanned document, just as if the user uploaded it manually.
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
|
-
## 🖥️ Setup
|
|
41
|
+
## 🖥️ Setup
|
|
42
42
|
|
|
43
|
-
To make scanning work,
|
|
43
|
+
To make scanning work, you need two things installed on your computer:
|
|
44
44
|
|
|
45
45
|
### 1. The Scanner Engine
|
|
46
46
|
We rely on a local scanning engine. You can use either **NAPS2** (Recommended for Windows) or **SANE** (Recommended for macOS/Linux).
|