npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cleanifix

v1.1.0

Published

Intelligent data cleaning CLI with natural language support - Docker-powered Python engine

Readme

Cleanifix

A CLI tool that automatically cleans your data files through natural language commands. Like having a data analyst in your terminal.

🚀 Quick Start bash# Install npm install -g cleanifix

Basic usage

cleanifix @sales.csv "remove duplicates" cleanifix @users.csv "fill missing emails with '[email protected]'" cleanifix @data.json "standardize all dates to ISO format"

Interactive mode

cleanifix interactive @messy_data.csv 🎯 Features Core Capabilities (MVP)

Missing Value Detection & Handling - Find and fix missing data automatically Data Standardization - Normalize dates, phone numbers, addresses, and more Deduplication - Remove duplicate rows with smart matching

Natural Language Interface bash# Just describe what you want cleanifix @customers.csv "find missing phone numbers and fill with 'N/A'" cleanifix @inventory.csv "standardize product names to title case" cleanifix @transactions.csv "remove duplicate entries keeping the most recent" Smart Suggestions bash$ cleanifix @data.csv "analyze"

📊 Data Quality Report: ✗ 156 missing values in 'email' column ✗ 89 inconsistent date formats ✗ 34 potential duplicates

Suggested fixes:

  1. Fill missing emails with domain-based patterns
  2. Standardize dates to YYYY-MM-DD
  3. Remove exact duplicates keeping first occurrence

Apply all fixes? [Y/n] 📦 Installation Prerequisites

Node.js 18+ Python 3.8+ 4GB RAM recommended for large files

Install from npm bashnpm install -g cleanifix Install from source bashgit clone https://github.com/rickyjs1955/cleanifix.git cd cleanifix ./scripts/setup-dev.sh 🛠️ Usage Examples Basic Cleaning bash# Find issues cleanifix @data.csv "show me data quality issues"

Fix missing values

cleanifix @sales.csv "fill missing prices with median"

Standardize formats

cleanifix @contacts.csv "standardize all phone numbers to international format"

Remove duplicates

cleanifix @emails.csv "remove duplicate emails keeping the latest entry" Batch Processing bash# Create a config file cat > cleaning-rules.yaml << EOF rules:

  • type: missing_values columns: [price, quantity] strategy: median
  • type: standardize column: phone format: E164
  • type: deduplicate keys: [email] keep: last EOF

Run batch cleaning

cleanifix batch @data.csv --rules cleaning-rules.yaml Interactive Mode bashcleanifix interactive @messy_data.csv

🧹 Cleanifix Interactive Mode

analyze my data fill missing ages with average by city
standardize all names to proper case save as cleaned_data.csv exit 🏗️ Architecture Cleanifix uses a hybrid architecture:

CLI Interface (Node.js) - Fast, responsive user interaction Processing Engine (Python) - Powerful data manipulation with pandas Communication - JSON-based message passing between components

🤝 Contributing We welcome contributions! See CONTRIBUTING.md for guidelines. Development Setup bash# Clone the repo git clone https://github.com/rickyjs1955/cleanifix.git cd cleanifix

Setup development environment

./scripts/setup-dev.sh

Run tests

npm test # CLI tests python -m pytest # Engine tests

Run in development mode

npm run dev 📋 Roadmap Phase 1 (Current) - MVP

Basic CLI interface Missing value handling Simple standardization Exact deduplication CSV support JSON support

Phase 2 - Enhanced Rules

Fuzzy deduplication Custom regex patterns Outlier detection Data type inference Excel support

Phase 3 - ML Integration

Smart imputation Anomaly detection Pattern learning Confidence scoring Auto-cleaning mode

📄 License MIT License - see LICENSE file for details 🙏 Acknowledgments Built with:

Commander.js - CLI framework Pandas - Data manipulation Chalk - Terminal styling

💬 Support

Documentation: docs.cleanifix.dev Issues: GitHub Issues Discussions: GitHub Discussions

Made with ❤️ by data people, for data people