validatorjs/validator.js

String validation

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 2nd, 2026
Created on October 6th, 2010
Open Issues & Pull Requests: 499 (+0)
GitHub issues: Enabled
Number of forks: 2,498
Total Stargazers: 23,736 (+0)
Total Subscribers: 227 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 36.8 hours
Mean response time: 56.0 days
90th percentile: 50.6 days
Tracked items: 127

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 93% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "🐛 bug" is answered fastest, typically in about 23 hours, while "help needed" waits about 6 days. Only 4% of issues opened in the past year have been closed. Three people close 76% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 71
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 775 days
Stale 30+ days: 58
Stale 90+ days: 40

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • 🐛 bug (66)
  • 🍿 discussion (16)
  • pr-raised (13)
  • 🙋‍♂️feature-request (13)
  • help needed (10)
  • good first issue (9)
  • maintenance (5)
  • 🔍needs-investigation (5)

Most active issues this week

Detailed Description

validator.js is a string validation and sanitization library for JavaScript.

The library addresses the need to validate and clean string input across web applications and Node.js environments. It provides a collection of functions that check whether strings match expected formats or patterns, and separate functions that transform strings by removing or escaping potentially harmful content. The approach is straightforward: developers call specific validator or sanitizer functions on input strings, passing options where needed, to determine validity or produce cleaned output.

The tool suits projects that need to validate common string formats like email addresses, URLs, IP addresses, and credit card numbers without building custom regex patterns or validation logic. It works well in both browser and server-side JavaScript contexts. The library is particularly useful when you want to avoid the complexity of larger validation frameworks while still covering standard validation scenarios.

The project shows consistent maintenance with regular updates addressing bug reports and feature requests. Pull requests receive timely review and feedback from maintainers. The codebase demonstrates active engagement with contributors, including responses to issues and incorporation of community-submitted improvements. Development activity reflects an established project that continues to evolve based on user needs rather than following a predetermined roadmap.