onedionys-validation-library

5.0.0 • Public • Published

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

Package Sidebar

Install

npm i onedionys-validation-library

Weekly Downloads

4

Version

5.0.0

License

ISC

Unpacked Size

14.2 kB

Total Files

6

Last publish

Collaborators

  • onedionys