1.0.0 • Published 5 months ago
ccsvalapp v1.0.0
ccsval
A robust CSV validation tool designed specifically for LinkedIn lead data. ccsval automatically detects CSV headers and allows you to define validation rules for each field, ensuring your lead data meets your quality standards.
Features
- Automatic header detection for CSV files
- Configurable validation rules for common lead data fields:
- Company names
- Person names
- Locations
- Phone numbers
- Email addresses
- Employee size counts
- And more...
- Generates two output files:
- clean.csv: Contains all valid records
- errors.csv: Contains invalid records with detailed error descriptions
Installation
npm install -g ccsval
Quick Start
The fastest way to validate your leads file is using npx:
npx ccsval path/to/your/leads.csv
This will start an interactive session where you can:
- Review detected headers
- Set validation rules for each column
- Run the validation process
- Get your clean.csv and errors.csv files
Validation Rules
ccsval supports the following validation types:
company
: Validates company namesperson
: Validates person namesemail
: Validates email addressesphone
: Validates phone numbers (international format supported)location
: Validates geographical locationsemployee_size
: Validates employee count numbersurl
: Validates URLsdate
: Validates dates in various formatstext
: Basic text validationnumber
: Numeric validation
Output Files
clean.csv
Contains all records that passed validation, maintaining the original format.
errors.csv
Contains records that failed validation, with an additional column "validation_errors" describing what went wrong.
License
MIT
Changelog
1.0.0
- Initial release
- Basic validation rules
- CSV processing
- Interactive CLI
1.0.0
5 months ago