evodatanor
v0.1.0
Published
Production-level data normalization & validation SDK. No network, no telemetry, highly deterministic.
Maintainers
Readme
EvoDataNor
Production-Level Data Normalization & Validation SDK
EvoDataNor is a high-performance, privacy-first library designed for enterprise banking, fintech, and large-scale SaaS platforms. It provides strict validation and deterministic normalization for critical user data including phone numbers, emails, and Indian financial instruments (PAN, IFSC, Aadhaar).
This SDK operates entirely locally. It contains no telemetry, makes no network requests, and ensures zero data leakage.
Core Principles
- Zero Trust Architecture: All inputs are validated continuously.
- Privacy First: No data leaves the execution environment.
- Deterministic:
f(x)always yieldsy. No side effects. - Performance: Optimized O(n) algorithms suitable for high-throughput environments (Node.js, Edge Workers).
Architecture Overview
The SDK follows a strict modular architecture to ensure tree-shakability and clear separation of concerns.
graph TD
User([User Application]) --> Entry[SDK Entry Point]
Entry --> Norm[Normalization Module]
Entry --> Val[Validation Module]
subgraph Norm [Normalization]
N1[Phone]
N2[Email]
N3[Name]
N4[Financial - PAN/IFSC]
end
subgraph Val [Validation]
V1[Regex Engine]
V2[Verhoeff Algorithm]
V3[Junk Detection]
end
Norm --> Output[Clean Data]
Val --> Boolean[True / False]Installation
Install via your preferred package manager:
npm install evodatanoryarn add evodatanorpnpm add evodatanorTechnical Documentation
Normalization
The normalization module cleans raw input streams into predictable, standard formats.
import { normalize } from "evodatanor";
// Phone Normalization (Handles +91, 0 prefix, whitespace)
const phone = normalize.phone(" +91 98765-43210 ");
// Result: "9876543210"
// Email Normalization (Trim, Lowercase)
const email = normalize.email(" [email protected] ");
// Result: "[email protected]"
// Financial Instruments
const pan = normalize.pan(" abcde 1234 f ");
// Result: "ABCDE1234F"Validation
The validation module applies strict rules to ensure data integrity.
import { validate } from "evodatanor";
// Strict Phone Validation (India)
const isValidPhone = validate.phone("9876543210", "IN");
// Result: true
// Aadhaar Validation (Verhoeff Checksum)
const isValidAadhaar = validate.aadhaar("999999990026");
// Result: true
// Junk / Dummy Data Detection
const isJunk = validate.isDummy("1234567890");
// Result: trueSecurity & Compliance
EvoDataNor is engineered to support GDPR and DPDP compliance requirements.
- No Telemetry: We do not track usage.
- No Storage: We do not store input data.
- No Network: We do not verify effectively against external databases (e.g. no "penny drop" verification), ensuring no data is shared with third parties.
License
This project is licensed under the MIT License.
Author: Daksha Dubey
