Skip to content

Validate is a standard Deno module for validating string.

Notifications You must be signed in to change notification settings

Jinglong7/validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐️ Please support us by giving a star! Thanks! ⭐️

Validate

Validate is a standard Deno module for validating string.

🎁 Features

  • isAfter
  • isAlpha
  • isAlphanumeric
  • isAscii
  • isBase32
  • isBase64
  • isBefore
  • isBIC
  • isBoolean
  • isBtcAddress
  • isByteLength
  • isCreditCard
  • isCurrency
  • isDataURI
  • isDate
  • isDecimal
  • isDivisibleBy
  • isEAN
  • isEmail
  • isEmpty
  • isEthereumAddress
  • isFloat
  • isFQDN
  • isFullWidth
  • isHalfWidth
  • isHash
  • isHexColor
  • isHexadecimal
  • isHsl
  • isIBAN
  • isIdentityCard
  • isIMEI
  • isIn
  • isInt
  • isIP
  • isIPRange
  • isISBN
  • isISIN
  • isISO31661Alpha2
  • isISO31661Alpha3
  • isISO8601
  • isISRC
  • isISSN
  • isJSON
  • isJWT
  • isLatLong
  • isLength
  • isLocale
  • isLowercase
  • isMACAddress
  • isMagnetURI
  • isMD5
  • isMimeType
  • isMobilePhone
  • isMongoId
  • isMultibyte
  • isNumeric
  • isOctal
  • isPassportNumber
  • isPort
  • isPostalCode
  • isRFC3339
  • isRgbColor
  • isSemVer
  • isSlug
  • isSurrogatePair
  • isSvg
  • isTaxID
  • isURL
  • isUUID
  • isUppercase
  • isVariableWidth
  • isWhitelisted

🔧 How to use

import { validate, isBoolean } from 'https://deno.land/x/[email protected]/mod.ts';

💡 Usage

import { validate, isBoolean } from 'https://deno.land/x/[email protected]/mod.ts';

console.log(validate.isAlpha('Validate')); // true
console.log(isBoolean('true')); // true

📜 Changelog

Details changes for each release are documented in the CHANGELOG.md.

❗ Issues

If you think any of the Validate can be improved, please do open a PR with any updates and submit any issues. Also, I will continue to improve this, so you might want to watch/star this repository to revisit.

💪 Contribution

We'd love to have your helping hand on contributions to Validate by forking and sending a pull request!

Your contributions are heartily ♡ welcome, recognized and appreciated. (✿◠‿◠)

How to contribute:

  • Open pull request with improvements
  • Discuss ideas in issues
  • Spread the word
  • Reach out with any feedback

✨ Contributors

Bunlong
Bunlong
Hampton
Hampton
Colin
Colin
Lukas
Lukas

⚖️ License

The MIT License License: MIT

About

Validate is a standard Deno module for validating string.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •