{"library":"vue-types","type":"library","category":null,"description":"`vue-types` is a utility library for Vue.js that provides a robust and declarative system for defining and validating component props at runtime, mirroring the functionality of React's `PropTypes`. It offers a comprehensive set of built-in validators for various JavaScript types, complex object shapes, arrays, and allows for custom validation functions. The current stable version is 6.0.0, which targets Vue 3 and Node.js >= 14.0.0. The library maintains a consistent release cadence, with major versions often introducing breaking changes to improve API consistency and align with Vue's evolving ecosystem. Its key differentiator is providing a familiar and highly readable API for prop validation, enhancing component reliability and developer experience by catching prop-related errors early in the development cycle, particularly valuable in large-scale Vue 3 applications for stricter type enforcement and better code maintainability.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","vue","props","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-types","imports":["import { VueTypes } from 'vue-types';","import type { PropType } from 'vue';","VueTypes.any.isRequired"]},{"cmd":"yarn add vue-types","imports":[]},{"cmd":"pnpm add vue-types","imports":[]}],"homepage":"https://vue-types.codeful.dev/","github":"https://github.com/dwightjack/vue-types","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-types","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-types/compatibility"}}