image-pii-redactor 0.1.0

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/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "image-pii-redactor",
3
+ "version": "0.1.0",
4
+ "description": "Client-side PII redaction for screenshot images. OCR + NER in the browser — your data never leaves your device.",
5
+ "type": "module",
6
+ "main": "dist/image-pii-redactor.js",
7
+ "module": "dist/image-pii-redactor.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/image-pii-redactor.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./component": {
15
+ "import": "./dist/image-pii-redactor.js",
16
+ "types": "./dist/index.d.ts"
17
+ }
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "README.md",
22
+ "LICENSE"
23
+ ],
24
+ "scripts": {
25
+ "dev": "vite",
26
+ "build": "tsc && vite build",
27
+ "build:demo": "vite build --config vite.config.demo.ts",
28
+ "preview": "vite preview",
29
+ "typecheck": "tsc --noEmit",
30
+ "lint": "eslint src/",
31
+ "test": "vitest run",
32
+ "test:watch": "vitest",
33
+ "test:e2e": "VITE_RUNNING=1 playwright test",
34
+ "test:e2e:ui": "VITE_RUNNING=1 playwright test --ui",
35
+ "test:e2e:fast": "VITE_RUNNING=1 playwright test --grep 'trust banner|drop zone|invalid file|mobile viewport'",
36
+ "test:all": "vitest run && VITE_RUNNING=1 playwright test"
37
+ },
38
+ "keywords": [
39
+ "pii",
40
+ "redaction",
41
+ "privacy",
42
+ "ocr",
43
+ "ner",
44
+ "client-side",
45
+ "browser",
46
+ "image",
47
+ "screenshot",
48
+ "web-component",
49
+ "tesseract",
50
+ "transformers"
51
+ ],
52
+ "license": "MPL-2.0",
53
+ "dependencies": {
54
+ "@xenova/transformers": "^2.17.0",
55
+ "lit": "^3.2.0",
56
+ "tesseract.js": "^5.1.0"
57
+ },
58
+ "devDependencies": {
59
+ "@playwright/test": "^1.58.2",
60
+ "@types/node": "^22.0.0",
61
+ "jsdom": "^28.1.0",
62
+ "playwright": "^1.58.2",
63
+ "typescript": "^5.6.0",
64
+ "vite": "^6.0.0",
65
+ "vitest": "^2.0.0"
66
+ }
67
+ }