Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

validation-box

euotiniel68MIT2.0.4TypeScript support: included

The only validation library - with flexible regex - you need.

validation, data-validation, typescript, lightweight, zero-dependency, fast-validation, regex-killer, developer-friendly, type-safety, simple-but-powerful, country-validation, email-validation, phone-number-validation

readme

📦 Valdation Box


The flexible, regex-first validation library you need.



A lightweight, zero-dependency validation library for JavaScript and TypeScript. Fully customizable and supports country-specific validation for phone numbers, emails, passwords, and more.

🚀 Try it now: Official Documentation

Features

  • Fully Customizable Validation – Control regex, min/max length, banned words, and more.
  • Country-Specific Validation – Phone numbers, emails, and formats for Angola, Brazil, USA, and others.
  • Zero Dependencies – Minimal bundle size, high performance.
  • Works Across Multiple Environments – Frontend, Backend, Mobile.

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes and write tests.
  4. Submit a pull request.

License

MIT License. See LICENSE for details.

✉️ Contact

If you have any questions or suggestions, feel free to open an issue or contact us at euotiniel.com.