@crankupit/data-filter
v1.0.0
Published
Sovereign JS Data Sieve mirroring the PHP implementation.
Downloads
107
Readme
@CrankUpIT: Data Filter (JS)
Zero-Latency Client-Side Sentry for Web-Gateways.
I. Overview
The JS Data Filter brings symmetry to the Volkrex ecosystem by mirroring the PHP filtering logic exactly. This enables immediate data cleaning in the browser, ensuring that data sent to the server is already pre-sanitized. The result: reduced server load and improved user experience with instant feedback.
II. Features
- Logic Symmetry: 1:1 behavioral match with the PHP implementation.
- ESM Ready: Modern
import/exportstructure for React, Vue, and Node.js. - Dynamic Sync: Accepts JSON rule-sets directly from the King's Admin Panel.
- Slugification: Native support for generating clean, SEO-friendly URL paths.
III. Installation
npm install @crankupit/js-data-filterIV. Reference Usage
Use this to guard the interface as you guard the gate.
import { Sanitizer } from '@crankupit/js-data-filter';
const engine = new Sanitizer();
const cleaned = engine.handle(formData, fieldMappings, globalRules);V. Sovereign Notice
Managed by Volkrex Inc.
Proprietary Reference: This code is the intellectual property of CrankUpIT.
Customization: Every framework may require its own nuanced implementation. Use this as your blueprint.
The Right to Break: We reserve the right to refactor this logic to meet the evolving needs of the Empire.
