Ross ROSS = Recommend OSS · open-source software intelligence for agents

validatorjs/validator.js

String validation observed · 2026-08-28

github.com/validatorjs/validator.js · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 97
  • Release rhythm 65
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 50.5
  • age_days: 5810
  • days_rel: 153
  • days_push: 18
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

23737 stars · 2495 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A JavaScript library of string validators and sanitizers for Node.js and browsers. It provides dozens of checks like isEmail, isURL, and isDate, plus sanitization helpers for cleaning user input.

Use cases

  • validate email addresses in a node.js api
  • sanitize user input before storing in a database
  • check if a string is a valid url or ip address
  • validate form fields in the browser
  • validate dates, phone numbers, and credit cards
  • clean and normalize strings from untrusted sources

When to choose

  • you need battle-tested string validation in JavaScript or TypeScript
  • you want a lightweight, dependency-free validator usable on server and client
  • you need tree-shakeable imports of individual validators

When to avoid

  • you need to validate non-string values like objects or arrays
  • you want schema-based validation with type coercion (use zod or joi)
  • you need form state management, not just validation

Facets

library · maturity stable

form-handling security developer-tools web-development backend frontend developer-tools browser string-validation sanitization input-validation email-validation form-validation nodejs javascript

1 source

Member repositories

RepositoryRoleHealth v2
validatorjs/validator.jsmain86

For agents

markdown · JSON · MCP: product_card(name="validatorjs/validator.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem