Vouch SDK for JavaScript - Email validation and device fingerprinting
npm install @vouch-in/jsOfficial Vouch SDK for JavaScript - Email validation and device fingerprinting for browser applications.

``bash`
npm install @vouch-in/jsor
yarn add @vouch-in/jsor
pnpm add @vouch-in/js
`javascript
import { Vouch } from "@vouch-in/js";
// Initialize with your credentials
const vouch = new Vouch("your-project-id", "your-client-api-key");
// Validate an email
const result = await vouch.validate("user@example.com");
if (result.recommendation === "allow") {
console.log("Email is valid!");
} else {
// Check specific validations
if (!result.checks.syntax?.pass) {
console.log("Invalid email format");
} else if (!result.checks.disposable?.pass) {
console.log("Disposable emails not allowed");
}
}
`
- Email syntax validation
- Disposable email detection
- MX record verification
- Device fingerprinting
- IP reputation checking
- Role email detection
- Alias detection
`typescript``
interface ValidationResponse {
checks: Record
metadata: {
fingerprintHash: string | null;
previousSignups: number;
totalLatency: number;
};
recommendation: "allow" | "block" | "flag";
signals: string[];
}
For complete documentation, examples, and API reference, visit:
docs.vouch.expert/sdks/javascript
- @vouch-in/react - React hooks and components
- @vouch-in/node - Server-side validation
- @vouch-in/next - Next.js integration
- @vouch-in/remix - Remix integration
Proprietary. Copyright (c) Vouch. All rights reserved.
See the SDK License Agreement for terms.