Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FrontLabsOfficial/vue-tiny-validate
💯 Tiny Vue Validate Composition
https://github.com/FrontLabsOfficial/vue-tiny-validate
composition-api validate validation vue vuejs
Last synced: 3 months ago
JSON representation
💯 Tiny Vue Validate Composition
- Host: GitHub
- URL: https://github.com/FrontLabsOfficial/vue-tiny-validate
- Owner: FrontLabsOfficial
- License: mit
- Created: 2021-06-07T07:44:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-29T09:45:02.000Z (about 1 year ago)
- Last Synced: 2024-07-20T22:26:48.263Z (4 months ago)
- Topics: composition-api, validate, validation, vue, vuejs
- Language: TypeScript
- Homepage: https://vue-tiny-validate.js.org/
- Size: 1.22 MB
- Stars: 137
- Watchers: 7
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## `vue-tiny-validate`
Tiny Vue Validate Composition
## Motivation
During the time of refactoring our project, we have coped with so many challenges, one of which was to minimize bundle
size of the external libraries. We looked for a solution in the Vue community, and we have seen so many great validation
tools, namely [Vuelidate](https://github.com/vuelidate/vuelidate) or
[vee-validate](https://github.com/logaretm/vee-validate). They were all great, but they weren't the best fit for our
problem at hand.Most, or maybe all of them, are over **10KB** minified. This was way too heavy for our goal of keeping our validation library
**robust**, **fully-supported**, and most importantly, **minimal**.That's why `vue-tiny-validate` was born.
## Features
- Easy. Come with familiar API and coherent documentation.
- Tiny. Only **3.4KB** minified. **1.4KB** gzipped.
- Flexible. Full control over everything.
- Fully functional. Sync validation, async validation, etc supported.
- Compatible. Works with both Vue 2.6 and Vue 3.
- Nearly 100% unit test coverage.## Usage
- See [docs](https://vue-tiny-validate.netlify.app) for more detail.
## About
- This library is heavily inspired by [Vuelidate](https://github.com/vuelidate/vuelidate).
- Created by [Anh Le](https://github.com/culee).## LICENSE
- [MIT](https://github.com/FrontLabsOfficial/vue-tiny-validate/blob/master/LICENSE)