Skip to content

onedionys/onedionys-validation-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to One Dionys - Validation Library! 👋

Packages for user input validation such as emails, URLs, or numbers. 💖

💾 Requirements

  • Web Browser - Can be used as an emulator to build applications. Example [Chrome, Firefox, Safari & Opera].
  • Internet - Because many use CDN and to make it easier to find solutions to all problems.

🎯 How To Use

Example Syntax

const ValidationLibrary = require('./src/validation');

// Example usage of validateEmail function
const isValidEmail = ValidationLibrary.validateEmail('test@example.com');
console.log('Is valid email?', isValidEmail); // Output: true

// Example usage of validateURL function
const isValidURL = ValidationLibrary.validateURL('https://example.com');
console.log('Is valid URL?', isValidURL); // Output: true

Explanation

  • validateEmail(email): Validates the format of an email address.
  • validateURL(url): Validates the format of a URL.

Return Value

  • Each validation function returns true if the input passes the validation, and false otherwise.

📆 Release Date

  • v1.0.0 : 07 March 2024
  • v1.0.1 : 11 March 2024
  • v4.0.0 : 11 March 2024
  • v4.0.1 : 12 March 2024
  • v4.0.2 : 13 March 2024
  • v4.0.3 : 18 March 2024
  • v5.0.0 : 31 March 2024

🧑 Author

📝 License

  • Copyright © 2024 One Dionys
  • One Dionys - Validation Library is an open source project licensed under the MIT license

☕️ Suppport & Donation

Love One Dionys - Validation Library? Support this project by donating or sharing with others in need.

Made with ❤️ One Dionys