qmetrics.net

validator.js

JavaScript string validators and sanitizers library

Application SecurityDesktop/CLI app

Validator.js supplies chainable checks and cleaners for strings in Node or the browser, covering emails, URLs, cards, dates, and many other formats.

Overview

Validator.js is a JavaScript package focused on validating and sanitizing string inputs. Each function expects a string operand; callers should coerce other types before calling, otherwise the helpers throw.

The project ships a broad catalog of validators for emails, domains, credit cards, currencies, dates, booleans, encodings, government identifiers, blockchain addresses, and locale-aware alphabetic text. Matching sanitizers trim, escape, or normalize user text. Documentation lists option objects per validator, such as strict email host rules or credit-card provider filters.

You can install the full bundle through npm for server code, import individual functions for tree-shaking, load a browser build via script tags or AMD, or pull builds from a CDN. ES module and CommonJS entry points are supported.

Because it operates purely as a library inside application code, there is no standalone server to deploy. Teams typically call it from HTTP handlers, form components, or CLI scripts as part of their own validation layer.

Key features

  • Large validator function catalog
  • Complementary string sanitizers
  • Tree-shakeable ES module imports
  • Browser and Node.js usage
  • Locale-aware text validators
  • Configurable email and URL rules
  • Financial and encoding format checks
  • CDN and bundler distribution

Use cases

  • API request field validation
  • HTML form input checking
  • Normalizing user-supplied strings
  • Payment and identity format gates
  • Shared client-server validation rules

Tags

Similar software

REA

MCP and CLI reverse-engineering toolkit for agents

REA connects coding agents and terminals to local analysis tools for binaries, Electron apps, websites, .NET, and Android targets. Setup registers MCP access and investigation skills via npm.

★ 480.8k⟳ todayMIT

Hackingtool

AI-guided terminal toolkit for authorized security testing

Hackingtool bundles many security utilities in one console with optional AI help to pick tools and commands. It targets Linux and macOS and is meant for authorized testing only.

★ 82.2k⟳ 28 days agoMIT
Application SecurityDesktop/CLI app

Strix

AI-driven penetration testing for developers

Strix runs autonomous AI agents that probe applications like attackers, validate issues with proofs of concept, and integrate into CLI and CI workflows.

★ 78k⟳ todayApache-2.0
AI Security & PrivacyDesktop/CLI app
Open Source Alternative to:XBOW

Magisk

Android customization suite with root and modules

Magisk is open source software for tailoring Android 7.0 and newer devices. It provides root access, systemless module installs, boot image tools, and per-app code injection via Zygisk.

★ 64.4k⟳ 4 days agoGPL-3.0
AutomationDesktop/CLI app

Shannon

Autonomous AI penetration tester for web apps and APIs

Shannon analyzes web application source code, plans attack paths, and runs real exploits against staging targets. Only vulnerabilities confirmed with a working proof of concept appear in reports.

★ 52.4k⟳ 2 days agoAGPL-3.0
Open Source Alternative to:XBOW

acme.sh

POSIX shell client for ACME SSL automation

acme.sh issues, renews, and installs SSL and TLS certificates via the ACME protocol using a single shell script with no Python dependency.

★ 48k⟳ 9 days agoGPL-3.0
Build & DeploymentDesktop/CLI app