vue-tiny-validate
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

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 or 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.

Usage

  • See docs for more detail.

About

LICENSE

Package Sidebar

Install

npm i vue-tiny-validate

Weekly Downloads

347

Version

0.2.4

License

MIT

Unpacked Size

22.2 kB

Total Files

12

Last publish

Collaborators

  • culee