New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

procheck

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

procheck

procheck is a powerful CSV validation tool that automatically detects headers and applies configurable validation rules for common lead data fields. It ensures data accuracy and generates separate output files for valid and invalid records.

latest
npmnpm
Version
1.0.3
Version published
Maintainers
0
Created
Source

procheck

procheck is a powerful CSV validation tool that automatically detects headers and applies configurable validation rules for common lead data fields. It ensures data accuracy and generates separate output files for valid and invalid records.

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
    • URLs, dates, numbers, and more...
  • Generates two output files:
    • clean.csv: Contains all valid records.
    • errors.csv: Contains invalid records with detailed error descriptions.

Installation

You can install procheck via npm:

npm install -g procheck


procheck validate yourfile.csv

This will guide you through:

Reviewing detected headers.
Setting validation rules for each column.
Running the validation process.
Generating clean.csv and errors.csv files.

## Validation Rules
procheck supports the following validation types:

company → Validates company names
person → Validates person names
email → Validates email addresses
phone → Validates phone numbers (international format supported)
location → Validates geographical locations
employee_size → Validates employee count numbers
url → Validates URLs
date → Validates dates in various formats
text → Basic text validation
number → Numeric validation

# Example

procheck validate leads.csv
After processing, two output files will be generated:

clean.csv: Contains records that passed validation.
errors.csv: Contains invalid records with detailed error descriptions.
# License
This project is licensed under the MIT License.

Keywords

csv

FAQs

Package last updated on 19 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts