{"_id":"rehydra","_rev":"36-e7cb70e9c241cb84d9c44a7cb6d1e146","name":"rehydra","dist-tags":{"latest":"0.14.0"},"versions":{"0.1.0":{"name":"rehydra","version":"0.1.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"d3ac9e9cd70e747441c65dd8cb72f0f548f81b75","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.0.tgz","fileCount":155,"integrity":"sha512-pHDEP67djS229J2Yj0MsmEZ/Xus7qXDcmLnxaaKPmriGJNacmkFAPT9N/qux6WTs86eCTHI7r3tgNG6pEWPj0g==","signatures":[{"sig":"MEQCIF5VGTBE6KDf1RDuNMXSweq7p11gUcVGbfpM9cMEuRnWAiAeFl3aHzpTeuTQSY2IzFnMPEA+pkkqUzONKOHN0dFMyw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":541410},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"94cbcfedbaed27e0785b39074711e731940e95ad","scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.0_1766741471678_0.24584413567685948","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"rehydra","version":"0.1.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"a748adbf4eabcd8ffc796805469bd712e39366cb","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.1.tgz","fileCount":179,"integrity":"sha512-RtsE+3ZajCDKFyoktbofX7MrlZK7BeUJXlBt+0hJGD3I2N+93jpZKZUF7JUKaKf8uUPtOl8e5B8wmmJbDQq0Vw==","signatures":[{"sig":"MEUCIQCVUOhYraN4rAw0N8cW9qKA49nvcn913tJG+5G1OVs+JAIgRZZnFX9QWUaZALQ9YHnnuVLMMOJl/TNyH/otZ0dzoAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":614132},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"5ad1c2a48cfd6299b4901e05c5a32daaa3fd2180","scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.1_1766925948832_0.9694376463475258","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"rehydra","version":"0.1.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"f0e5d19dee945e361d8dd7032b7122a12930364d","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.2.tgz","fileCount":179,"integrity":"sha512-ing/nysd1NaP52dwwuxsPjAAQXOatl9xgGdQU0EPqFh3MmOXnOGJkWsJXeDeAg1UI+Yq/g87ihlfLiTgZszXMw==","signatures":[{"sig":"MEUCIHb9k8FBMXbykHt1HOl7ayybD1qo7EdQ/F+zu0gOOUpyAiEAngdXWW14lFRLconDdatYct8iu5NNcrneZVJesJxxzpo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":622408},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"64b05aa414e280aea0d2804aa99277134c778a2e","scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.2_1766933210252_0.11091436459293291","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"rehydra","version":"0.1.3","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.3","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"bc9fc328702bb7dc490a2392691ac422181e4564","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.3.tgz","fileCount":195,"integrity":"sha512-/MjhE/J1LMEdm6rd3TBhM3EqWe1EOkJqqZobmeXI3QpapUNwxVe4/pJjWYdGCIohWJj/P+7ETmFIJ0SqBMxDVw==","signatures":[{"sig":"MEUCIADOynC8OQCPOJR+QI7RfamUo4LHCtyHQYBTlNB4oP1GAiEAuNcPLCOESo/8kOmKZDImbfs1VOk8Za83jO3Qb80G5xQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":648157},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"d2646282977e06c00a6b76737142a53bffa1ac6a","scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.3_1766949248030_0.5393088418175389","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"rehydra","version":"0.1.4","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.4","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"a654dee0ca6f18920a44e8fa15312d809fcec973","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.4.tgz","fileCount":203,"integrity":"sha512-CHC/5BRsaz6RBF8n7QyUi1BilQXuVCajG03Rw0Kv5XVIP8L6cHTY/1kazzMn9DlB2E+1ApBbq0jdMreHejACkg==","signatures":[{"sig":"MEUCIQC98WDpwXstC14No1kWwtgg1CsceC35HfhUcVzV6GKpHwIgStN/bHVyD7IDk0FRQoeTgR5vzBtdxzFCSG8dSdD+or8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":662850},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"9ddbeb83d75d373ced02e5fd50652e32aeb3e7bf","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.4_1766952445621_0.39694400521189555","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"rehydra","version":"0.1.5","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.1.5","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra/issues"},"dist":{"shasum":"2f8f70f2bb1c07d70782df778eb3dd37a0ce0263","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.1.5.tgz","fileCount":203,"integrity":"sha512-fc/3OsWGxkCFNSOd45b60mXZO7vwEWd9COam3qki/PS2wKcGfRhVbv0ik24krgE/rUI6COHDSy6D7xyHx+nD7A==","signatures":[{"sig":"MEUCIQC1zO5VweQuSCho0nD2rMVoCtPHlixm9oaG89CgvES9mwIgD0jVaSu8/syotpbbYacJRKWcgtYJHScE8yQMpVhKh5s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663024},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"a18e171e560a1ac6b5b4bd71576291f8bfd34985","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy translation","directories":{},"_nodeVersion":"22.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.1.5_1767045280299_0.38900937659091595","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"rehydra","version":"0.3.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.3.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"e990d02a003bda47b96cb1a54f4c90f0095834e7","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.3.0.tgz","fileCount":203,"integrity":"sha512-y1YcbN4ywva18FlW9YPLLhgyDAshdIbxEO4VcF3wwmmNBlkgeLtyyu+ffn4T5upKRxu474M8hsagwBR5gVQo2g==","signatures":[{"sig":"MEQCIH+8TXzND6kN7pJDyU2lOkhiEZO4u9uaxqPIwcFQqiolAiA4qJMCLnGSJhXBZm1HNENi2G+oKyvEF5vwiBA0oOQiAw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663007},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"8c3f4c01c7c501916d20983dfe392b5e10d11bc9","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.3.0_1767048736781_0.4675669554968074","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"rehydra","version":"0.3.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.3.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"aeef8e6021de063814793082eb39af153e8aa5a0","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.3.1.tgz","fileCount":203,"integrity":"sha512-FMbXAyyQBhyduGUiJ/q02rYC4iatEhsOPP3dePbHxu/GRCUuKGwMbJKl+Q4hKoTWe0pC3NIV6drWG/yFya2Orw==","signatures":[{"sig":"MEUCIAiGHv1PwwOEz+r/USU10xc9qowrYH07K8zeYcfDEkP8AiEAntLDLOEndGwc6LfSEzpnQ7wCQnHA04RHsipOuYy/RLM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663712},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"63950c55bf11a23e58c9c668fc74fc74683a8602","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.3.1_1767092538559_0.8614717970440808","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"rehydra","version":"0.3.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.3.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"892727527e47e17f51f226566d6a7510c8fb5126","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.3.2.tgz","fileCount":203,"integrity":"sha512-imgLfBpS+SpbevEwS2xWsdUlOmYadPAtAvHX2iyalsep2SY1GCO7QPOY24w4L8rbLvia1Uc6FysNCRfV8Xr3rA==","signatures":[{"sig":"MEYCIQCEGdXuHm5xvkIIPppMAe4ou0HZq5RUwDIrHVvM4e72cgIhALbYmXpofogWGa02/hMu7nSW53O8bPffOHKyNq8ZNS6a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":663876},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"d315779b51d31b72267ec254d0464a3984d9c81d","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.3.2_1767096661032_0.09768450913969184","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"rehydra","version":"0.3.3","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.3.3","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"82cf9fded9649fd9903dbb5bfcba99111f08f3e9","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.3.3.tgz","fileCount":211,"integrity":"sha512-ZvmBlCNy+IrdlJOuWcErb5/Q2gNjpTavltlJcZs7D11h2C4k9CZOIVLRcYjCBkqqBhm93n36ShK77E65irKhKQ==","signatures":[{"sig":"MEQCIEyxrlD+nvKy+0JIXirX+u6TN/gO85Pr6LmQ6ETRmZjQAiBbKh3gKnP98xwMk2ljKhRAeS3JRymBh++tagDqiKmkdg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":695334},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"2502fc7480f6c7e703c6896872adbcedb4b27ff4","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.3.3_1767538591171_0.4572629022472974","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"rehydra","version":"0.3.4","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.3.4","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"62fdad7598ffe8e0bc058237af99cc9dee1a62fb","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.3.4.tgz","fileCount":211,"integrity":"sha512-W92FKHfoQPf/ln1HdXKsmPfPxrRLpuxLa4xgzDO0a6DPJq5pGn9PEkGb/0hUm8RL2lYExCBzS7w8ufP8fBBkSw==","signatures":[{"sig":"MEUCIBi1RpleFj9i+Yg0bi0G/zHz2saeiSSofPUGEREupkbZAiEAzZGtStAkCCY05ZpI+hPFMTDbpqtgpUHXtC4m6ri42T0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":694449},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"7c23b3087fefef34a3e9f6474d9d4fe4f0b64318","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.3.4_1767726940305_0.07441457035926424","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"rehydra","version":"0.4.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.4.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"d27ea0a20c7860aa8e8afbb79c3fd2bf888a805b","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.4.0.tgz","fileCount":275,"integrity":"sha512-ozV9ElPzHTDNqA9mL5JeUutrJAczkn6bLPWkCuqEG1Y2+BCTnfbDWuP7DutbChlhj/ttN3dhD9l2bf1Pwiypjg==","signatures":[{"sig":"MEUCIQDLCNWTYfExg6lBG8KVX4WbCeO8pKyXn+tdVjAOgxCHgQIgOoQ/VIP7slf8RQWMGS+a8IPFwLjChETdsuM48DConAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":804735},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"b112ba4444d0d81fc163335982a2e9349c3cbe83","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.4.0_1774101862008_0.4149246719293882","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"rehydra","version":"0.4.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.4.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"46c899dabba6361ef32cd8ad1e84f1d0fec01d30","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.4.1.tgz","fileCount":275,"integrity":"sha512-CDWw53cCrkrioFUFxEX9RmRFDsQYyx7uS8pnKQfnWwOY/RxwP42uwNevK59ZjaBQdBJl6+q4XfH+eHJYOO2wRg==","signatures":[{"sig":"MEUCIQC0EuftAdxqXinxgkL64hguS3IKGRNly/B7myK3pIy5fwIgM5GmlvoX8e0MYZK9VSyguJ8+cBcwo2aWP9cL7y0stOg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":803407},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"4d20decc82f18d0b1abafaa3eb1541bf08bba834","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.4.1_1774104395595_0.07338324530914164","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"rehydra","version":"0.4.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.4.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"8e02172e7f2deca20124e97aa1ae76649204a0a5","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.4.2.tgz","fileCount":275,"integrity":"sha512-C43QuD8oDHeSxbpW13mBXPytcDv+l/7mbeQdvPyqTT7IhcOU9yVc9p6lnK+ufLasuLON5VWxqI7e8fa47xoOiQ==","signatures":[{"sig":"MEUCIQC1UhfKZEkAQrVCNTwCTTPm29Sf33K/wunrGJZtmomU7gIgPrcXe42JexmY5/KU080mLKgpHNq6XFYtSGWMgUssMaM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":803545},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"aba79bbf8ad5e861c7e6584ce9bb003ee859619f","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.4.2_1774104873744_0.3210218023580049","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"rehydra","version":"0.4.3","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.4.3","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"cd60d52f1aaba7b03177a505bce3547c4bc386b8","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.4.3.tgz","fileCount":279,"integrity":"sha512-wZ1PmNrjzlSFAyqppSYnK6LWTZs6Xsfxvg15E3pNSbaJKaQ7Ycrd+H3MlLRs4kzO0zuyMwp4VAl53DAjtENoBA==","signatures":[{"sig":"MEUCIQCiCd33tB1tbSEHNkIKsoY7MRhRGWUVy56NWQgoM3IyagIgHDwSgBNImvEUY+ibFljWGlD/Iw5eeBPimh3nBNY5Gig=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":805921},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"776c6f5bf8abc111758be7218e01163313ea2089","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.4.3_1774105568314_0.568644958273278","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"rehydra","version":"0.5.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.5.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"9ee1f7466f2e75ceb7d540e96e53f96954583aea","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.5.0.tgz","fileCount":327,"integrity":"sha512-u7lQGiS1LlQbDnOcpssAvxydhV0wWBJ6dHIlTyV2bcsMtSPX6bbl8AkWdBxkEqmTdCnu87tCImXdgd9ftrYDww==","signatures":[{"sig":"MEUCID17ZYazpCY/LwRXmCIt5ZHBGos9krVGm3nRcf3pMmyXAiEAzggf15U7O6xE7mQQY+rivR+a0cTHRJfs6SK+SsKQWW0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":860405},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"33421aa4550bf761d6f6f37ad918c09dd0e4c8a8","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.5.0_1774110955815_0.18137576477379858","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"rehydra","version":"0.5.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.5.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"34c4b9c16d89724ca537de37ddf935b3e1d47040","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.5.2.tgz","fileCount":327,"integrity":"sha512-RFjLQDCqLttZcxLnP7H0Exro2OxmjrevbShcPvThsdSype7YYPX5vhO23dFNcdrCCAb7t1U7o/4iiyFg6nJ9Lg==","signatures":[{"sig":"MEUCIBIEf1k6yS7V4x0fvxiRONFYo81b/AxaOBdcORsL3OR/AiEApC5COlXnuEBAgY+sWK0zVkxAdF/C2C0bYqamFEGsrrs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":876591},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}}},"gitHead":"b1e4ae7a48b6b0ae34f0dac2cb5088f26bf8bb0d","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.5.2_1774114456448_0.870358676999351","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"rehydra","version":"0.6.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"9848336934fa95c8b967b03f31647f0daf101113","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.0.tgz","fileCount":379,"integrity":"sha512-8nImEIs59eaakLQvLzO3Ozg0c/RGukm7J3W2FpzMYkW/6NQOzy8OZxtG5xqV5sjK4vUnaDU/e93q8w4G/qgXmA==","signatures":[{"sig":"MEUCIQCyUnv3HxZ4k/PRSwSs3heizhvA/p6ZEHfFZFFJuj0wIwIgHQmFhSAaWwOv2ni5nD8uHjlZZmYqA/uKNdWIB4P1/Xo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":947086},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"33a2c1a46757f345b2a0da0d7dd753d4d77c3d60","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.0_1774204859289_0.2939216054352647","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"rehydra","version":"0.6.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"8c267d2312a0f5a0e5dd4d78b8e4c84616d00cf3","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.1.tgz","fileCount":379,"integrity":"sha512-GfOaQR6UB7kLiHQrhmL0llxe98gX0v0Frv3c/yuMg9ARSDefOqDQEzbxrsAMa5C7A1XSXn0nnlyZFCLpd1u+kQ==","signatures":[{"sig":"MEUCIGDA7U3530LOJDZ2nX0bQoeiIaRyQigf82amDmbCh1etAiEA08GkWlGBx00CGPfa2bEmQY5zbn1EodncKIzbC4dYkCQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":972057},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"a79762e3aba74069051bf99e9850b3b5e38b2c1e","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.1_1774209830122_0.3528913865967198","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"rehydra","version":"0.6.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"c9f605313da3464e2869892682c1483a93838857","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.2.tgz","fileCount":379,"integrity":"sha512-hUiUhcK4yuZPtR4ebucPWnwIYNpjZgYWZunE/toZO3f4CBm8v7MS7yIuGet8eNcD2mZr/zynZ1NJsoNA0juAyA==","signatures":[{"sig":"MEQCIEFRm9HHfarlfAR3TtSIigqkWzu5FesUdb3mX18UgbSPAiABPVtBubCIqRFRgcnCTirxy85Eimlu7cx1wHPEImuitQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":975169},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"b2ffd8341d1c065b948283c5ad4a7285b7aeb6c3","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.2_1774211231039_0.3648755563171191","host":"s3://npm-registry-packages-npm-production"}},"0.6.3":{"name":"rehydra","version":"0.6.3","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.3","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"6b4135fccf27f76e6d9afe774169ebfaac4a722a","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.3.tgz","fileCount":379,"integrity":"sha512-weccuJp+z+Ub6cRWhqymMq2eXDbACIeLiC0uiLlan/QwjWqqBq5NvGep2mOCaoqeu2YDeFCjm9Nb5lD4JNfQvQ==","signatures":[{"sig":"MEYCIQCfF9Y7cJFLT+3110YYkpS6UlGQdvZxwygV1/0ka3jArAIhAOhlo7Uu7zxa5LcuvnavWuR9zxuJL92H18vy7M4v8d/f","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":975627},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"7ea5640c4fce465f5ccbf0eafa529f62b399f0e2","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.3_1774296467277_0.17371229290847934","host":"s3://npm-registry-packages-npm-production"}},"0.6.4":{"name":"rehydra","version":"0.6.4","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.4","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"4f9593a38ab5d5aad692178f31d7ee2852d9c9c5","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.4.tgz","fileCount":379,"integrity":"sha512-W6XesMWM87VuBODG0mHBq7K+n8nDO7O5ZzV65q2sQCB99srf/RGojcQqvymS4tV/ZzIz/XE1tVwZw5KX0HJMWQ==","signatures":[{"sig":"MEYCIQCGcEqht/ME+uDwq2rHbUrJ3v1zJr3sNAmffFo+0wAfOwIhAKvYz0uWYvOQzoGemMbiMNzQqEdK41IWOJZaPZfvQ3jA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":982173},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"c742cdedc2f6798c1f0dd54370e496a644b0547c","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.4_1774385865445_0.9737423053250882","host":"s3://npm-registry-packages-npm-production"}},"0.6.5":{"name":"rehydra","version":"0.6.5","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.6.5","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"d9edc0c96fb0436aa43b497332e67f109b8bcbf2","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.6.5.tgz","fileCount":379,"integrity":"sha512-D+l3JPW+Dlip3eBocVlKgRIyPuZgNtou4kLeu1LMMyi+vv9rapaAT+9fTezsFbus3ainF1RCx52UTIlIyAnK2Q==","signatures":[{"sig":"MEQCIBnHr586he8LuApu9Fj8+H82+cMM/99hh4N/YpAg5gC3AiBzEOcB0au4eSQ83Ayj3Cq6lLji2Id+ItxeVqugl4oeUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":982816},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"e1e0c8deaeb6f9357a56c7d3dff7d8ed4db9e780","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.6.5_1774439362138_0.5188960401485812","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"rehydra","version":"0.7.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.7.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"d82ca7fc2fa8ee5c2e2b143c2b0218b4336df481","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.7.0.tgz","fileCount":387,"integrity":"sha512-8S7cW//QsbvLvgnxGHxzmFWPsKuqNo9dI2L01ft86ozClUgaKzLPv/F1Y71lS7wx15NIO4MBaAWCwKXI7wkbQQ==","signatures":[{"sig":"MEYCIQCOmnq5BjO3+DvnVQdFUPA17CZTsi/NWSVll7bog4i1UQIhAIc5Iqtt644b4BqNizaWVz652RmR8WP6Hxj/Ds7XBKML","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1016956},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"9f1b7d06d87b04ca14e935e77ae4da4ca4df89c5","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.7.0_1774519593524_0.056559464364168255","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"rehydra","version":"0.8.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.8.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"31db8205361e194b60adfddc9396f46e34cd8f34","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.8.0.tgz","fileCount":391,"integrity":"sha512-OtOum0uNMeWi26ba89fXQHQ0eDjFvFfFIT2fWXrpwyjISElbbqS54hVckG0ra6GkPmdSKGCiUWHNTjPOmlevEA==","signatures":[{"sig":"MEUCIQDU0Ggb2/0Q7zDY54ahE5V1QGFgQREDj73EcQYpbnd6+gIgfUskk6zEcYfdHY4tXdGnFwYvOEBEmXrHI9W8QvryA0U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1045836},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"8dae1b7954f92dd5ae908a7f8ae049459fdbea6c","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.8.0_1774626128995_0.5677145949840272","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"rehydra","version":"0.9.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.9.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"f9e3f99e03fd48a1f7e6ed070dcb3af6f18fdea8","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.9.0.tgz","fileCount":399,"integrity":"sha512-JDC1HdwaimmcZF7OWrytAvJ6OYBavo3TPN1NlJYaGzKdRP1waAdBRaiweDduWQ1UF3dNLgOC3EfeZXcMlSVIjg==","signatures":[{"sig":"MEUCIBrFBwEMahtLs4UO2eW4ciTxxZCE1D/hT7aIbDkfF8d+AiEA56zbLQXNPzZta9NDQuzNXy+mmuG2jBEXAAlp6CV+bWs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1066637},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"cdb4b4bb287f76d794e2da7d89b3446e3800f487","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.9.0_1774690690084_0.34923645763298117","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"rehydra","version":"0.9.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.9.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"e52a4978bf7579abe935bfa44a305d293592aceb","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.9.1.tgz","fileCount":399,"integrity":"sha512-nEeMU9U221u9OZc/Veb/7NSUe5ClT3BhJ1Dbxle7rz0pugYWh7skXOQiwKZY16uKwD3H+rJY4LKd/sBX/xqMOQ==","signatures":[{"sig":"MEYCIQCpczTQGuCzTQyDM5+7q/uYtWnV6PG6mAOeKEiMh+o8RgIhAO9rL77yXwdxbDHz0t8jalowyU7ZGnzj+GZdIlIC5nff","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1069242},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"6fa2bd8dbc3be0991b4eee776cb17cea44415688","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.9.1_1775114204386_0.9700534081385352","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"rehydra","version":"0.10.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.10.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"8cee09f555983309bf70873f32d559d38a267b34","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.10.0.tgz","fileCount":403,"integrity":"sha512-KbYIznuT06g1e5EMzKI61Lhshn7Dy2i5/cOT3RVlM0kNxvrXu3mjei9tsRRHg/hLko6ZfIt+q6+jqWlIyXdfFQ==","signatures":[{"sig":"MEQCIBYTVI7r2mzwKWuWv2C+TAPJmhl8EUuuZHQHeB5AAHJsAiBfBdxbwngGJL9tQSFyND/8RkTbVPY3uJDT7xJvScjD0w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1086406},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"af6a0a617925ff4037a822072b720e601d02a14a","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.10.0_1775323140881_0.7544022720679333","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"rehydra","version":"0.10.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.10.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"7c08b36f8d13da84ebb6c08c07f22dce244d4cff","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.10.1.tgz","fileCount":403,"integrity":"sha512-qS8dPbFev7f3b9HIHgKHPvkra2anT3XS4d7AsDCMs8HKnG6pZZlSdN8iQm9DSrx+wzaOAyI0MqQX39RIOqVGRg==","signatures":[{"sig":"MEYCIQC2A+rcPrm7p2bgCiv09IvweR8Vm8Fz0bxhK/QWCnI5NQIhALDD4EX4PeNWF1kg5J/i0u1ZQrpUQZisgllKuXo05n2i","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1089195},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"e9174c4b560a6617c50910c87484cf10e07f4cbf","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.10.1_1775334705718_0.8137863194054744","host":"s3://npm-registry-packages-npm-production"}},"0.10.2":{"name":"rehydra","version":"0.10.2","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.10.2","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"7e7536a764795e6a895611657c221ad54b924251","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.10.2.tgz","fileCount":403,"integrity":"sha512-3XLE061VZZZdlWIkPEYTTI0UUSFaGzkJ4ZQbWZ2TRJodFqkUy7NbsVxsfQr+xl+S3ym62lGxDnfFMOE/olf3jQ==","signatures":[{"sig":"MEUCIQDvILFGwHawBx3pSRkmKTSRJnAbj55jgMC8uDC6nBkQ1wIgafRcFhQcQgKVLGzGBBW1Jzfu+zBmQfO37yYK6dnMcUI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1089066},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"5b516a82e91fff14d8dd991a11c876e31e999a57","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.3","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.10.2_1775585273086_0.7756821777563083","host":"s3://npm-registry-packages-npm-production"}},"0.10.3":{"name":"rehydra","version":"0.10.3","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.10.3","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"92337fd085c6918dacfd2b7b2f7019b6ef7d6f2b","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.10.3.tgz","fileCount":403,"integrity":"sha512-jaaTd8ffEPk136fKTU2Mm/mjph+HkjBh2IW7yMoPdSxkQxjoDB93ej8qHvHQY5G2lxf9Gz23W+kC86GwWDJRGQ==","signatures":[{"sig":"MEUCIQCXTclN1q6510FuNd6rzin+rKOZ155qZitbGo0hpsXpZAIgSZZoo/woUtkaZIp54dCOhqourV2eY+4+CVzO3CXYVEE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1090538},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"a8c4f569d46c3d01ba1f4fbff2c87c107eec8545","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.10.3_1780308323284_0.37105267337846337","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"rehydra","version":"0.11.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.11.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"f2a5a36b044f37c24aa839037da999ba7177e776","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.11.0.tgz","fileCount":403,"integrity":"sha512-1ooe88gkQVEf0L1s5JVra3neXcea4lNG9R3STGPGNdh+dt/GhTuUWF7UdTimFl1L6qdJk1kB+zul/yiChrcedw==","signatures":[{"sig":"MEUCIQDF1dB4RRB6xo1MIDlV7IL8kG6+v75pGFp30vQ8a2GQcAIgCYLG3IlzoqCZ34ttR+b+kUjAURwcPxG85CCIuq42wAg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1095114},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"5662262a8674ea287cfb3d732e1a172740827a86","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.11.0_1780822623185_0.3691186179214456","host":"s3://npm-registry-packages-npm-production"}},"0.11.1":{"name":"rehydra","version":"0.11.1","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.11.1","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"8c979bdfc95926dca8ae175c26e97f36e740e3e4","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.11.1.tgz","fileCount":403,"integrity":"sha512-A0+tVfcF1NXeS5wF8kiCzL5kxYYqfLO/tETo9/WMdr9AUbXLKr3Jz91W/qYpwihPG/hkdQE1kQzTGSfuejziPA==","signatures":[{"sig":"MEUCIQCypnTK0UptrtCp4E2UkMuIMPsTNVxacfzB5x+9HzA6sQIgdCUMjKLpRyV+yKDD2eLxWCuRiJtCdmHIXxzTLju2xeU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1108261},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"7efb0af3b2cb8debc66ea40e6b55103242a0a6d6","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.11.1_1784650440127_0.2401153420006501","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"rehydra","version":"0.12.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.12.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"1569a77fdad90a7883b6ac9deaaba3aac1830985","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.12.0.tgz","fileCount":407,"integrity":"sha512-MTyyOHjQCL983JM86VAUYiNijZmQETCed+IpP5nJeRDTWHG8ee7HK8KxRxbCywgsm/oLHlf8v87+0m95rGwqPw==","signatures":[{"sig":"MEUCIQCJLau/6hAaG5PCs4Agc2hpUOBwKc6xBit1JKJSHA/bFQIgF3g4JlDXFrnNvliomW3GZUHiUkAdtycOoaodUwXHVc0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1119829},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"6b3952f7c16d8f864d01cb220370ace35eadb93e","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.12.0_1785002215239_0.27179857955886777","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"rehydra","version":"0.13.0","keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","_id":"rehydra@0.13.0","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"dist":{"shasum":"eaf71a6b0af9bf5e08440f49390fb14db705cab4","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.13.0.tgz","fileCount":407,"integrity":"sha512-SAtva+e8kY10AToMVhAHL/WSJkOF5uUudqPLfozVFZWxsiTErt925Mm6tZGDN19/El/shd8LArq/gMRW6BSABQ==","signatures":[{"sig":"MEYCIQDKmCNbSI06sbPqOcwJ5ug4KIo4Aqa4xPmBh/zXBl0R+QIhAL8S3YCTvIKKwTyf/ynFfdgspEsiTDIXDlHJSpVV76BL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1127419},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"./dist/browser.js","engines":{"node":">=18.0.0"},"exports":{".":{"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"gitHead":"02d54beb32add3f08afac8d43f5f921f00cf6406","imports":{"#storage":{"node":"./dist/utils/storage.js","browser":"./dist/utils/storage.browser.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"node":"./dist/ner/onnx-runtime.js","browser":"./dist/ner/onnx-runtime.browser.js","default":"./dist/ner/onnx-runtime.js"}},"scripts":{"lint":"eslint src --ext .ts","test":"vitest","build":"tsc","clean":"rm -rf dist","test:run":"vitest run","benchmark":"vitest bench","setup:ner":"bash scripts/setup-ner-model.sh --quantize","test:coverage":"vitest run --coverage","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","prepublishOnly":"npm run clean && npm run build","test:streaming":"npx tsx scripts/test-streaming.ts","benchmark:memory":"npx tsx scripts/bench-memory.ts","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","setup:ner:standard":"bash scripts/setup-ner-model.sh","test:browser-bundle":"bash scripts/test-browser-bundle.sh","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts"},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"repository":{"url":"git+https://github.com/rehydra-ai/rehydra-sdk.git","type":"git"},"_npmVersion":"10.9.7","description":"On-device PII anonymization module for high-privacy AI workflows","directories":{},"_nodeVersion":"22.22.2","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.55.0","vitest":"^2.1.0","typescript":"^5.3.0","@types/node":"^20.10.0","better-sqlite3":"^11.0.0","fake-indexeddb":"^6.2.5","@vitest/coverage-v8":"^2.1.0","@types/better-sqlite3":"^7.6.11","@typescript-eslint/parser":"^6.13.0","@typescript-eslint/eslint-plugin":"^6.13.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-web":"^1.17.0","onnxruntime-node":"^1.17.0"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependenciesMeta":{"better-sqlite3":{"optional":true},"onnxruntime-web":{"optional":true},"onnxruntime-node":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/rehydra_0.13.0_1786309580246_0.488303432633445","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"rehydra","version":"0.14.0","description":"On-device PII anonymization module for high-privacy AI workflows","main":"dist/index.js","module":"dist/index.js","browser":"./dist/browser.js","types":"dist/index.d.ts","type":"module","imports":{"#storage":{"browser":"./dist/utils/storage.browser.js","node":"./dist/utils/storage.js","default":"./dist/utils/storage.js"},"#onnx-runtime":{"browser":"./dist/ner/onnx-runtime.browser.js","node":"./dist/ner/onnx-runtime.js","default":"./dist/ner/onnx-runtime.js"}},"exports":{".":{"browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./browser":{"types":"./dist/browser.d.ts","default":"./dist/browser.js"},"./node":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./storage/sqlite":{"node":{"types":"./dist/storage/sqlite.d.ts","default":"./dist/storage/sqlite.js"}},"./streaming":{"node":{"types":"./dist/streaming/index.d.ts","default":"./dist/streaming/index.js"}},"./proxy":{"node":{"types":"./dist/proxy/index.d.ts","default":"./dist/proxy/index.js"}},"./cli":{"node":{"types":"./dist/cli/main.d.ts","default":"./dist/cli/main.js"}},"./opencode-plugin":{"types":"./dist/opencode-plugin/index.d.ts","default":"./dist/opencode-plugin/index.js"}},"scripts":{"build":"tsc","test":"vitest","test:run":"vitest run","test:coverage":"vitest run --coverage","test:browser-bundle":"bash scripts/test-browser-bundle.sh","benchmark":"vitest bench","benchmark:compare":"vitest bench --run test/benchmark/anonymizer-comparison.bench.ts","benchmark:save":"mkdir -p benchmarks/history && vitest bench --run --outputJson=\"./benchmarks/history/$(date +%Y-%m-%d-%H%M%S).json\"","benchmark:memory":"npx tsx scripts/bench-memory.ts","benchmark:latency":"npx tsx scripts/bench-latency.ts","test:streaming":"npx tsx scripts/test-streaming.ts","test:proxy:openai":"npx tsx scripts/test-proxy-openai.ts","test:proxy:anthropic":"npx tsx scripts/test-proxy-anthropic.ts","lint":"eslint src --ext .ts","clean":"rm -rf dist","setup:ner":"bash scripts/setup-ner-model.sh --quantize","setup:ner:standard":"bash scripts/setup-ner-model.sh","setup:ner:upload":"bash scripts/setup-ner-model.sh --quantize --upload","prepublishOnly":"npm run clean && npm run build"},"keywords":["anonymization","pii","privacy","ner","onnx"],"author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/rehydra-ai/rehydra-sdk.git"},"optionalDependencies":{"onnxruntime-node":"^1.17.0"},"peerDependencies":{"better-sqlite3":"^11.0.0","onnxruntime-node":"^1.17.0","onnxruntime-web":"^1.17.0"},"peerDependenciesMeta":{"onnxruntime-node":{"optional":true},"onnxruntime-web":{"optional":true},"better-sqlite3":{"optional":true}},"devDependencies":{"@types/better-sqlite3":"^7.6.11","@types/node":"^20.10.0","@typescript-eslint/eslint-plugin":"^6.13.0","@typescript-eslint/parser":"^6.13.0","@vitest/coverage-v8":"^2.1.0","better-sqlite3":"^11.0.0","eslint":"^8.55.0","fake-indexeddb":"^6.2.5","typescript":"^5.3.0","vitest":"^2.1.0"},"engines":{"node":">=18.0.0"},"dependencies":{"fast-glob":"^3.3.3"},"_id":"rehydra@0.14.0","gitHead":"5d4fb85bc1fbf63a4395aa10a11307806116ce6a","bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-wPCcAw4r5e8Cql1M8pLi5UY4YuN+a9jKIFx1MIYitoInKtuVb1fafjNGH7cORnMzo5P33q+XXfybxC4Va6R91A==","shasum":"c8ce5f120c9800bbccea1699657d649911a4e7f8","tarball":"https://registry.npmjs.org/rehydra/-/rehydra-0.14.0.tgz","fileCount":439,"unpackedSize":1204403,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCTuvhpbiYUL67FXeZcdaXPoJ/fjiY9SAAZ4P8vu5h0IQIgHTo3noHkd/TxXvXHQeGeIPdC3SsHnXdTXfyrvrjtmY0="}]},"_npmUser":{"name":"tjruesch","email":"tomj.ruesch@gmail.com"},"directories":{},"maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehydra_0.14.0_1788684977699_0.9315458142597335"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-26T09:31:11.676Z","modified":"2026-09-06T08:56:18.018Z","0.1.0":"2025-12-26T09:31:11.823Z","0.1.1":"2025-12-28T12:45:49.035Z","0.1.2":"2025-12-28T14:46:50.478Z","0.1.3":"2025-12-28T19:14:08.187Z","0.1.4":"2025-12-28T20:07:25.799Z","0.1.5":"2025-12-29T21:54:40.496Z","0.3.0":"2025-12-29T22:52:17.007Z","0.3.1":"2025-12-30T11:02:18.852Z","0.3.2":"2025-12-30T12:11:01.240Z","0.3.3":"2026-01-04T14:56:31.362Z","0.3.4":"2026-01-06T19:15:40.482Z","0.4.0":"2026-03-21T14:04:22.225Z","0.4.1":"2026-03-21T14:46:35.832Z","0.4.2":"2026-03-21T14:54:33.944Z","0.4.3":"2026-03-21T15:06:08.469Z","0.5.0":"2026-03-21T16:35:56.095Z","0.5.2":"2026-03-21T17:34:16.661Z","0.6.0":"2026-03-22T18:40:59.440Z","0.6.1":"2026-03-22T20:03:50.369Z","0.6.2":"2026-03-22T20:27:11.283Z","0.6.3":"2026-03-23T20:07:47.490Z","0.6.4":"2026-03-24T20:57:45.665Z","0.6.5":"2026-03-25T11:49:22.333Z","0.7.0":"2026-03-26T10:06:33.750Z","0.8.0":"2026-03-27T15:42:09.224Z","0.9.0":"2026-03-28T09:38:10.311Z","0.9.1":"2026-04-02T07:16:44.569Z","0.10.0":"2026-04-04T17:19:01.112Z","0.10.1":"2026-04-04T20:31:45.924Z","0.10.2":"2026-04-07T18:07:53.382Z","0.10.3":"2026-06-01T10:05:23.604Z","0.11.0":"2026-06-07T08:57:03.410Z","0.11.1":"2026-07-21T16:14:00.314Z","0.12.0":"2026-07-25T17:56:55.475Z","0.13.0":"2026-08-09T21:06:20.403Z","0.14.0":"2026-09-06T08:56:17.834Z"},"bugs":{"url":"https://github.com/rehydra-ai/rehydra-sdk/issues"},"license":"MIT","homepage":"https://github.com/rehydra-ai/rehydra-sdk#readme","keywords":["anonymization","pii","privacy","ner","onnx"],"repository":{"type":"git","url":"git+https://github.com/rehydra-ai/rehydra-sdk.git"},"description":"On-device PII anonymization module for high-privacy AI workflows","maintainers":[{"name":"tjruesch","email":"tomj.ruesch@gmail.com"}],"readme":"<p align=\"center\">\n  <img src=\"https://framerusercontent.com/images/NT4xWP34VHd2Wlrk197je5BUi4.png?scale-down-to=512\" width=\"400\" alt=\"Rehydra\" />\n</p>\n\n<p align=\"center\">\n  PII security for AI workflows, coding agents and browser workloads.<br/>\n  Detects, replaces, encrypts, and <strong>rehydrates</strong> back when needed.\n</p>\n\n<p align=\"center\">\n  <a href=\"https://docs.rehydra.ai\">Documentation</a> · <a href=\"https://github.com/rehydra-ai/rehydra-sdk/issues\">Issues</a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/rehydra\"><img src=\"https://img.shields.io/npm/v/rehydra?color=blue\" alt=\"npm\" /></a>\n  <a href=\"https://github.com/rehydra-ai/rehydra-sdk/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/rehydra-ai/rehydra-sdk\" alt=\"license\" /></a>\n  <a href=\"https://codecov.io/github/rehydra-ai/rehydra\"><img src=\"https://codecov.io/github/rehydra-ai/rehydra/graph/badge.svg?token=WX5RI0ZZJG\" alt=\"codecov\" /></a>\n</p>\n\n<p align=\"center\">\n  <code>npm i rehydra</code> · <code>npm i <a href=\"packages/cli/\">@rehydra/cli</a></code> · <code>npm i <a href=\"packages/opencode-plugin/\">@rehydra/opencode</a></code>\n</p>\n\n## The Problem\n\nWhen you send code, messages, or documents through an LLM, real names, emails, and API keys go with them. Existing anonymizers strip PII permanently but that breaks the conversation. The LLM can't reason about \"John\" if it never sees \"John,\" and it can't write a file referencing `john@acme.com` if that address was permanently removed.\n\nYou need pseudonyms that the LLM can work with, and that your tools can reverse.\n\n## How Rehydra Solves It\n\n1. **Detect** — Regex patterns catch structured PII (emails, phones, UK postcodes, IBANs, credit cards). An on-device NER model (ONNX, no cloud calls) catches soft PII (names, organizations, locations).\n2. **Replace** — Each PII value gets a stable placeholder: `<PII type=\"PERSON\" id=\"1\"/>`. The LLM works with these instead of real data.\n3. **Persist** — The same entity always gets the same ID, across every message in the session. The LLM maintains relational coherence without ever seeing real PII.\n4. **Rehydrate** — When a response needs to become real again (a file write, a bash command, a final answer), Rehydra restores the original values from its encrypted map.\n\n## Quick Start\n\n### Proxy — protect your AI coding tools\n\nRun a local proxy that anonymizes PII before it reaches the LLM and rehydrates responses. Works with Claude Code, Cursor, and any OpenAI/Anthropic-compatible client.\n\n```bash\nnpx @rehydra/cli proxy claude --api-key sk-ant-...\n```\n\n```\n  rehydra proxy\n\n  Provider   anthropic (https://api.anthropic.com)\n  Listening  http://127.0.0.1:8787\n  NER        quantized\n\n  Configure your tools:\n\n  Claude Code\n    ANTHROPIC_BASE_URL=http://127.0.0.1:8787 claude\n```\n\nNames, emails, phone numbers, and secrets are replaced with placeholders in transit. Tool results (file reads, bash output) are anonymized on the way out. Tool call arguments (file writes, bash commands) are rehydrated on the way back. The LLM never sees real PII — but your tools always get real values.\n\n> **Note:** The proxy requires an [Anthropic API key](https://console.anthropic.com/settings/keys). Claude Max/Pro subscriptions use OAuth which `api.anthropic.com` does not support through proxies.\n\n### Browser extension — anonymize ChatGPT and Gemini\n\nInstall the [Rehydra Chrome extension](https://chromewebstore.google.com/detail/rehydra-%E2%80%93-ki-privacy-date/oaiimlliicjbmgmamiahhnafpcenpohh) to protect PII directly in your browser. It replaces names, emails, phone numbers, and secrets with placeholders before your messages reach ChatGPT or Gemini, and rehydrates the responses back to real values in the UI. Detection runs on-device — no data leaves your machine.\n\n### OpenCode plugin\n\n```bash\nnpm install @rehydra/opencode\n```\n\n```json\n{ \"plugin\": [\"@rehydra/opencode\"] }\n```\n\nIntercepts the conversation between [OpenCode](https://github.com/sst/opencode) and the LLM. Secrets from `.env` files are replaced with placeholders before they leave your machine and restored before tools execute.\n\nOpenCode's separate session-title request bypasses the plugin hooks and can send the first message without scrubbing. Disable the title agent to prevent that call; see [the limitation and configuration](packages/opencode-plugin/README.md#session-title-limitation).\n\n### CLI\n\nFor automation and server-side use.\n\n<p align=\"center\">\n  <img src=\"demo.gif\" alt=\"Rehydra Demo\" />\n</p>\n\n### Library — embed PII anonymization in your app\n\nHighly customizable backbone of the implementations above. Supports custom NER models, encryption key providers, session storage providers, tag formats and many more tweaks.\n\n```typescript\nimport { anonymize } from 'rehydra';\n\nconst { anonymizedText } = await anonymize(\n  'Email john.smith@acme-corp.com or call John at +41 79 123 45 67'\n);\n```\n\nWorks in **Node.js**, **Bun**, and **browsers**. No data leaves your machine.\n\n## Why Rehydra?\n\n### Reversible, not destructive\n\nMost PII libraries mask or redact permanently. Rehydra encrypts the original values with AES-256-GCM and restores them on demand. Anonymize for the LLM, rehydrate for your tools — a full round-trip, not a one-way street.\n\n### Session-persistent identity\n\n`PERSON_1` stays `PERSON_1` across every message in the conversation. When John Smith comes up in message 1, message 5, and message 20, the LLM sees the same placeholder every time. It can track relationships, reference earlier context, and produce coherent multi-turn output — without ever seeing real PII. Sessions persist to SQLite (server), IndexedDB (browser), or in-memory, so identity mappings survive restarts.\n\n### Zero-trust, on-device\n\nNER inference runs locally via ONNX Runtime (~280 MB quantized model). No API calls to external services. Works offline. PII never leaves your machine.\n\n### LLM proxy with tool-call rehydration\n\nThe CLI proxy sits between your coding agent and the API. It anonymizes outbound messages and — critically — rehydrates tool-call arguments before they execute. When the LLM says \"write `<PII type=\"EMAIL\" id=\"1\"/>` to config.yaml,\" the proxy restores the real email before the file is written. Your agent works normally. Your data stays private.\n\n### Secrets, not just PII\n\nBeyond names, emails, and phone numbers, Rehydra detects API keys (OpenAI, Anthropic, Stripe, AWS, GitHub...), JWTs, private keys, database connection strings, and `.env` secrets.\n\n### Streaming-aware\n\nPurpose-built for LLM token streams. A sentence-buffered chunking system with NER overlap preservation ensures accurate detection even when PII spans chunk boundaries — with a low-latency mode for real-time streaming.\n\n### Streaming server-side tool loops\n\n`createRehydraFetch` supports `onToolCall` for OpenAI Chat Completions and Anthropic Messages requests with `stream: true`. The first response is buffered and its complete tool calls are validated before callbacks run. Interleaved calls retain their IDs and arguments. Tool arguments are rehydrated locally, and tool results are anonymized before the next request.\n\nContinuation requests use `stream: false`. The final response is returned as provider-compatible SSE, including completion events and usage. This buffers the initial response and final JSON response, so it does not preserve token-by-token generation latency. Streams without tool calls retain their original events.\n\nSet `maxToolRounds` to bound callback rounds, and `maxToolResponseBytes` to bound each buffered response; defaults are 10 rounds and 8 MiB. On reaching the round limit, pending calls are returned to the caller without execution. Pass an `AbortSignal` through fetch to cancel buffering or prevent later callbacks; a callback already running must manage its own cancellation. Truncated calls, malformed arguments, and oversized streams fail before tool execution. Upstream HTTP errors retain their status. OpenAI tool loops require a single completion choice. Custom providers can opt in through `streamingToolLoop` on `LLMContentProvider`.\n\n### Semantic enrichment for machine translation\n\nOptional gender and scope attributes on PII tags (`<PII type=\"PERSON\" gender=\"male\" id=\"1\"/>`, `<PII type=\"LOCATION\" scope=\"city\" id=\"2\"/>`) preserve grammatical context for downstream systems.\n\n### Stable external tag IDs\n\nCallers that manage PII maps across independent anonymization calls can seed lowercase alphanumeric IDs through `existingPiiMap`. This allows an ID to be derived from the value it masks, for example with a keyed HMAC, instead of depending on a per-call counter.\n\n```typescript\nconst existingPiiMap = new Map([\n  ['EMAIL_a4f2c9d8e7b6q', 'alice@acme.com'],\n]);\n\nconst result = await anonymizer.anonymize(\n  'Email alice@acme.com',\n  undefined,\n  policy,\n  existingPiiMap,\n);\n// → 'Email <PII type=\"EMAIL\" id=\"a4f2c9d8e7b6q\"/>'\n```\n\nExternal IDs must match `[0-9a-z]+`. Decimal-only IDs retain their existing numeric behavior. Avoid IDs beginning with recognizer prefixes such as `case`, `file`, `ref`, or `ticket`, and avoid runs of seven or more digits; those shapes may themselves be detected as case IDs or phone numbers inside an inbound tag.\n\n## Example: Full Round-Trip with Sessions\n\n```typescript\nimport {\n  createAnonymizer,\n  InMemoryKeyProvider,\n  SQLitePIIStorageProvider,\n} from 'rehydra';\n\nconst keyProvider = new InMemoryKeyProvider();\nconst anonymizer = createAnonymizer({\n  ner: {\n    mode: 'quantized',              // ~280 MB model, auto-downloads on first use\n    caseFallback: true,             // detect lowercase names like \"tom\"\n    thresholds: { PERSON: 0.8 },   // require higher confidence for names\n    onStatus: console.log,          // log model download progress\n  },\n  semantic: { enabled: true },      // adds gender/scope attributes for MT\n  secrets: { enabled: true },       // detect API keys, JWTs, connection strings\n  keyProvider,\n  piiStorageProvider: new SQLitePIIStorageProvider('./pii.db'),\n});\n\nconst session = anonymizer.session('chat-123');\n\n// Message 1 — NER detects names and orgs, regex catches emails\nconst r1 = await session.anonymize(\n  'Tell John Smith at Acme Corp (john.smith@acme-corp.com) we accept the offer'\n);\n// → \"Tell <PII type=\"PERSON\" gender=\"male\" id=\"1\"/> at <PII type=\"ORG\" id=\"2\"/>\n//    (<PII type=\"EMAIL\" id=\"3\"/>) we accept the offer\"\n\n// Message 2 — same entities keep their IDs across messages\nconst r2 = await session.anonymize(\n  'CC john.smith@acme-corp.com and loop in admin@acme-corp.com'\n);\n// → \"CC <PII type=\"EMAIL\" id=\"3\"/> and loop in <PII type=\"EMAIL\" id=\"4\"/>\"\n\n// Rehydrate any message — PII map is loaded from SQLite automatically\nconst original = await session.rehydrate(r2.anonymizedText);\n// → \"CC john.smith@acme-corp.com and loop in admin@acme-corp.com\"\n\nawait anonymizer.dispose();\n```\n\n## Packages\n\n| Package | Description |\n|---------|-------------|\n| [`rehydra`](https://www.npmjs.com/package/rehydra) | Core SDK — detect, anonymize, rehydrate |\n| [`@rehydra/cli`](packages/cli/) | CLI proxy and terminal anonymization |\n| [`@rehydra/opencode`](packages/opencode-plugin/) | OpenCode plugin — scrubs secrets before they reach LLM providers |\n\n## Documentation\n\nFor API reference, configuration, guides, and examples, visit **[docs.rehydra.ai](https://docs.rehydra.ai)**.\n\n## License\n\n[MIT](LICENSE)\n\n### Address detection\n\nThe default regex registry detects UK postcode syntax and numbered English-language street addresses such as `34a Friskin Road`. Apartment identifiers are included when adjacent to a street address, as in `Flat 1\\n34a Friskin Road`. A contiguous UK address block ending in a postcode is masked as one `ADDRESS`; a standalone postcode uses `POSTAL_CODE`. Bare apartment numbers, unnumbered buildings, and other countries' postal formats need custom recognizers or NER. Postcode matching checks syntax, not whether a postcode is currently assigned.\n\nDisable `ADDRESS` or `POSTAL_CODE` through the detection policy to opt out of either recognizer.\n","readmeFilename":"README.md"}