Socket
Socket
Sign inDemoInstall

onedionys-validation-library

Package Overview
Dependencies
133
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    onedionys-validation-library

One Dionys (Validation Library) - Packages for user input validation such as emails, URLs, or numbers.


Version published
Weekly downloads
16
increased by700%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

  • Facebook : Oned Ionys
  • Instagram : @onedionys
  • Twitter : @onedionys
  • LinkedIn : @onedionys

📝 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

Keywords

FAQs

Last updated on 31 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc