{"library":"detective-vue2","type":"library","category":null,"description":"detective-vue2 is a utility library designed to extract module dependencies from Vue Single File Components (SFCs). It parses Vue files, including `<template>`, `<script>`, and `<style>` blocks, to identify `import` and `require` statements, as well as dependencies referenced in template expressions or style imports. The current stable version is 2.3.0, with releases occurring periodically to update underlying dependency parsers (like `detective-typescript`) and add support for new Vue syntax features, such as `script setup` and mixed `script/script setup` blocks. It distinguishes itself by specifically targeting Vue SFCs, providing a comprehensive solution for analyzing the dependency graph of Vue applications, supporting both Vue 2 and Vue 3 constructs. It is crucial for build tools, bundlers, and static analysis.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript","detective","dependencies","module","ast","import","vue"],"last_verified":"Wed May 27","install":[{"cmd":"npm install detective-vue2","imports":["import detective from 'detective-vue2';","const detective = require('detective-vue2');"]},{"cmd":"yarn add detective-vue2","imports":[]},{"cmd":"pnpm add detective-vue2","imports":[]}],"homepage":null,"github":"https://github.com/dependents/detective-vue2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/detective-vue2","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/detective-vue2/compatibility"}}