Skip to main content
flexorch-audit ships as a pure Python package and a pure JavaScript package — no native extensions, no heavy dependencies. Pick the one that matches your stack and you’ll be running your first audit in under two minutes.

Python

1

Install the package

pip install flexorch-audit
Requires Python 3.10 or later. No external dependencies are installed.
2

Verify the installation

from flexorch_audit import audit

result = audit("Test email: hello@example.com")
print(result["pii_summary"]["count"])  # 1
If you see 1 printed, the library is working correctly.

JavaScript / TypeScript

1

Install the package

npm install @flexorch/audit
Requires Node.js 18 or later. No external dependencies are installed.
2

Verify the installation

import { audit } from '@flexorch/audit';

const result = await audit('Test email: hello@example.com');
console.log(result.piiSummary.count); // 1
If you see 1 in the console, the library is working correctly.
TypeScript types are bundled with the npm package — no separate @types/ install is needed.

Versions and changelogs

PackageRegistryChangelog
flexorch-audit (Python)PyPICHANGELOG
@flexorch/audit (JavaScript)npmCHANGELOG