Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@saimulhasnain-dev/input-validator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saimulhasnain-dev/input-validator - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

package.json
{
"name": "@saimulhasnain-dev/input-validator",
"version": "1.2.2",
"version": "1.2.3",
"description": "Human-friendly and powerful data validator library utility for JavaScript",

@@ -5,0 +5,0 @@ "author": "Saimul Hasnain",

@@ -87,27 +87,27 @@ ![npm version](https://img.shields.io/npm/v/input-validator?color=green&label=npm&style=flat-square)

## Available methods
- isEmptyArray: To check if array is empty or not
- isString: To check if value is string or not
- isNumeric: To check string is numeric type
- isValidEmail: To check email is valid or not
- isAlphabet: To check if string contain alphabet only
- isAlphaNumericOnly: To check if string contains alphabet and numeric as well
- isSpecialCharAlphaNumeric: To check if string contains alphabet with combination of number and special characters
- isUndefined: To check if variable is undefined
- isNull: To check if variable is null
- isBoolean: To check if variable boolean
- isArray: To check if variable is an array
- sanitizeString: To get sanitized version of value
- toInt: To parse in integer format
- toFloat: To parse in floating point format
- toDate: To parse in date type
- isURL: To check if a URL is valid or not
- isValidNumber: To check valid numnber
- isValidLatLong: To check valid latitude and longitude points
- isStrongPassword: To check string password complexity
- isMediumPassword: To check medium password complexity
- isDate: To check if a value is date
- isObject: To check if a value is object
- isKeyExists: To check if a particular key is exists in an object or not(not in nested object)
- isKeyExistsNested: To check if a particular key is exists in an object or not(in nested object)
- getValueFromObject: To get value of a key from a nested object
- **isEmptyArray**: To check if array is empty or not
- **isString**: To check if value is string or not
- **isNumeric**: To check string is numeric type
- **isValidEmail**: To check email is valid or not
- **isAlphabet**: To check if string contain alphabet only
- **isAlphaNumericOnly**: To check if string contains alphabet and numeric as well
- **isSpecialCharAlphaNumeric**: To check if string contains alphabet with combination of number and special characters
- **isUndefined**: To check if variable is undefined
- **isNull**: To check if variable is null
- **isBoolean**: To check if variable boolean
- **isArray**: To check if variable is an array
- **sanitizeString**: To get sanitized version of value
- **toInt**: To parse in integer format
- **toFloat**: To parse in floating point format
- **toDate**: To parse in date type
- **isURL**: To check if a URL is valid or not
- **isValidNumber**: To check valid numnber
- **isValidLatLong**: To check valid latitude and longitude points
- **isStrongPassword**: To check string password complexity
- **isMediumPassword**: To check medium password complexity
- **isDate**: To check if a value is date
- **isObject**: To check if a value is object
- **isKeyExists**: To check if a particular key is exists in an object or not(not in nested object)
- **isKeyExistsNested**: To check if a particular key is exists in an object or not(in nested object)
- **getValueFromObject**: To get value of a key from a nested object

@@ -114,0 +114,0 @@ ## Contributing

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc