Repository navigation
Data hygiene CLI for music PR contact lists. Scrub, rinse, and soak your CSVs.
What's included
- scrub — validate & clean emails (RFC 5322, MX records, UK domain typo correction, disposable domain detection, role-based flagging)
- rinse — deduplicate contacts (exact email, fuzzy name via Jaro-Winkler, cross-field resolution)
- soak — enrich contacts with AI (Anthropic Claude Haiku or OpenAI GPT-4o-mini)
- wash — full pipeline (scrub + rinse + soak)
- spot — spot-check a single email with SMTP verification
- inspect — data quality score
- drain — format conversion (CSV, JSON, JSONL)
- tui — interactive dashboard
Install
npm install -g datasink
sink scrub contacts.csvOr use without installing:
npx datasink scrub contacts.csvMIT licence. Node 20+.