validator.js Logo

validator.js

0
Free
Visit Website

This library validates and sanitizes strings only. If you're not sure if your input is a string, coerce it using input + ''. Passing anything other than a string will result in an error. Installation and Usage Server-side usage Install the library with npm install validator No ES6 var validator = require('validator'); validator.isEmail('foo@bar.com'); //=> true ES6 import validator from 'validator'; Or, import only a subset of the library: import isEmail from 'validator/lib/isEmail'; Tree-shakeable ES imports import isEmail from 'validator/es/lib/isEmail'; Client-side usage The library can be loaded either as a standalone script, or through an AMD-compatible loader <script type="text/javascript" src="validator.min.js"></script> <script type="text/javascript"> validator.isEmail('foo@bar.com'); //=> true </script> The library can also be installed through bower $ bower install validator-js CDN <script src="https://unpkg.com/validator@latest/validator.min.js"></script> Validators Here is a list of the validators currently available. Validator Description contains(str, seed [, options]) check if the string contain

FEATURES

ALTERNATIVES

A tool to secure your shell commands history by clearing sensitive commands

A comprehensive list of 44 advanced Google search operators to refine your search results and get the most out of Google.

Comprehensive guide on best practices for PHP development.

A conference featuring talks and workshops on various Python-related topics.

Non-profit organization supporting the advancement of open source software.

nudge4j is a tool to control Java applications from the browser and experiment with live code.

Assess, audit, and evaluate configurations of AWS resources.

CLI program for cybersecurity solution management with multiple functionalities and authentication methods.

PINNED

InfoSecHired Logo

InfoSecHired

An AI-powered career platform that automates the creation of cybersecurity job application materials and provides company-specific insights for job seekers.

Commercial
Resources
Fabric Platform by BlackStork Logo

Fabric Platform by BlackStork

Fabric Platform is a cybersecurity reporting solution that automates and standardizes report generation, offering a private-cloud platform, open-source tools, and community-supported templates.

Free
Security Operations
Mandos Brief Newsletter Logo

Mandos Brief Newsletter

Stay ahead in cybersecurity. Get the week's top cybersecurity news and insights in 8 minutes or less.

Free
Blogs and News
System Two Security Logo

System Two Security

An AI-powered platform that automates threat hunting and analysis by processing cyber threat intelligence and generating customized hunt packages for SOC teams.

Commercial
Security Operations
Aikido Security Logo

Aikido Security

Aikido is an all-in-one security platform that combines multiple security scanning and management functions for cloud-native applications and infrastructure.

Commercial
Application Security
Permiso Logo

Permiso

Permiso is an Identity Threat Detection and Response platform that provides comprehensive visibility and protection for identities across multiple cloud environments.

Commercial
IAM
Wiz Logo

Wiz

Wiz Cloud Security Platform is a cloud-native security platform that enables security, dev, and devops to work together in a self-service model, detecting and preventing cloud security threats in real-time.

Commercial
Cloud Security
Adversa AI Logo

Adversa AI

Adversa AI is a cybersecurity company that provides solutions for securing and hardening machine learning, artificial intelligence, and large language models against adversarial attacks, privacy issues, and safety incidents across various industries.

Commercial
AI Security
CyberSecTools logoCyberSecTools

Explore the largest curated directory of cybersecurity tools and resources to enhance your security practices. Find the right solution for your domain.

Copyright © 2025 - All rights reserved