All Projects → SFantasy → node-validator

SFantasy / node-validator

Licence: MIT License
Node.js string validator for more

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to node-validator

ATGValidator
iOS validation framework with form validation support
Stars: ✭ 51 (+264.29%)
Mutual labels:  validator, string-matching
ty
Here is a schema checker which can return well typed results. Tell your friends!
Stars: ✭ 21 (+50%)
Mutual labels:  validator
UE4-BUIValidator
UE4 UI Texture Validator Plugin
Stars: ✭ 48 (+242.86%)
Mutual labels:  validator
Maat
Validation and transformation library powered by deductive ascending parser. Made to be extended for any kind of project.
Stars: ✭ 27 (+92.86%)
Mutual labels:  validator
Saudi-ID-Validator
Saudi-ID-Validator (Swift, Kotlin, Java, Go, JS, Python, TypeScript, PHP, Scala, ruby, c#, vb, SQL)
Stars: ✭ 53 (+278.57%)
Mutual labels:  validator
pyvaru
Rule based data validation library for python 3.
Stars: ✭ 17 (+21.43%)
Mutual labels:  validator
denetmen
useful micro check library for Crystal Language.
Stars: ✭ 23 (+64.29%)
Mutual labels:  validator
Validator
Easy-to-use, Highly Configurable Python Data Validator. Inspired by Laravel Validator
Stars: ✭ 41 (+192.86%)
Mutual labels:  validator
filter
Go语言的数据过滤包,由 数据输入、格式化、校验、输出 几个部份组成。
Stars: ✭ 22 (+57.14%)
Mutual labels:  validator
openui5-validator
A library to validate OpenUI5 fields
Stars: ✭ 17 (+21.43%)
Mutual labels:  validator
node-input-validator
Validation library for node.js
Stars: ✭ 74 (+428.57%)
Mutual labels:  validator
beda
Beda is a golang library for detecting how similar a two string
Stars: ✭ 34 (+142.86%)
Mutual labels:  string-matching
multi string replace
A fast multiple string replace library for ruby. Uses a C implementation of the Aho–Corasick Algorithm based on https://github.com/morenice/ahocorasick while adding support for on the fly multiple string replacement. Faster alternative to String.gsub when dealing with non-regex (exact match) use cases
Stars: ✭ 16 (+14.29%)
Mutual labels:  string-matching
validation
A validation library for PHP that uses the notification pattern
Stars: ✭ 27 (+92.86%)
Mutual labels:  validator
notional
Full Documentation of Notional's systems
Stars: ✭ 31 (+121.43%)
Mutual labels:  validator
bpmnlint
Validate BPMN diagrams based on configurable lint rules.
Stars: ✭ 82 (+485.71%)
Mutual labels:  validator
validation
Aplus Framework Validation Library
Stars: ✭ 99 (+607.14%)
Mutual labels:  validator
amazon-ecs-exec-checker
🚀 Pre-flight checks for ECS Exec
Stars: ✭ 364 (+2500%)
Mutual labels:  validator
datalize
Parameter, query, form data validation and filtering for NodeJS.
Stars: ✭ 55 (+292.86%)
Mutual labels:  validator
easiest-js-validator
The easiest way to validate your forms without 3rd party packages
Stars: ✭ 53 (+278.57%)
Mutual labels:  validator

node-validator

String validator for more.

NPM version npm download build status Coveralls Status David deps

Install

[sudo] npm install is-valid [--save]

Usage

var validator = require('is-valid');

validator.isEmail('[email protected]'); // => true

Validators

  • isEmail(str): check if it is an Email string
  • isAllChinese(str): check if it is a string only contains Chinese characters
  • isAllEnglish(str): check if it is a string only contains English characters
  • isAllDigit(str): check if it is a string only contains digits
  • isChineseTel(str): check if it is a Chinese cell-phone number
  • isChineseIdCard(str): check if it is a 18-digit Chinese ID card number
  • isVisaCard(str): check if it is a Visa card
  • isMasterCard(str): check if it is a Master card
  • isLink(str): check if it is a link

Test

git clone [email protected]:SFantasy/node-validator.git && cd node-validator

[sudo] npm install mocha -g

mocha

or

npm test

Coverage

npm test --coverage

License

The MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].