{"name":"detective-vue2","version":"3.0.0","keywords":["detective","dependencies","module","ast","import","vue"],"author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"license":"MIT","_id":"detective-vue2@3.0.0","maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"havunen","email":"sampo.kivisto@proton.me"}],"homepage":"https://github.com/dependents/detective-vue2","bugs":{"url":"https://github.com/dependents/detective-vue2/issues"},"dist":{"shasum":"28039d7e095d4cc2f32f910e31a1ad3bc030ffcd","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-3.0.0.tgz","fileCount":4,"integrity":"sha512-G9R8V5PE4YeCn94Lbo1N6gaUh+6ke1Z3Lkqdeqkpfoxv6K2GNEdQWuv02KApnjyZzpF6hbCpMupPbfWddZDxAw==","signatures":[{"sig":"MEYCIQDlPDWpjBgoLw+s/aQ9Lo6/mbYSEFT723wY6fyelkNHuAIhAJ3TlvBCLMZp1RAPCJLssJIy+R6yb3v+El5iPLXiKs/l","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5044,"size":2183,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-3.0.0.tgz"},"type":"module","engines":{"node":">=20.19.0 || >=22.12.0"},"exports":{".":"./index.js"},"gitHead":"84436fc2007c7c3aedf86c38421c37b3b99c5d94","scripts":{"fix":"xo --fix","uvu":"uvu test","lint":"xo","test":"npm run lint && npm run uvu","watch":"node --watch test/test.js","test:ci":"c8 npm run uvu"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"repository":{"url":"git+https://github.com/dependents/detective-vue2.git","type":"git"},"_npmVersion":"11.12.1","description":"Get the dependencies of a Vue module","directories":{},"_nodeVersion":"24.15.0","dependencies":{"detective-es6":"^6.0.0","detective-sass":"^7.0.0","detective-scss":"^6.0.0","detective-stylus":"^6.0.0","@vue/compiler-sfc":"^3.5.34","detective-typescript":"^15.0.0","@dependents/detective-less":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","xo":"^2.0.2","uvu":"^0.5.6","typescript":"^6.0.3"},"peerDependencies":{"typescript":"^5.4.4 || ^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/detective-vue2_3.0.0_1779200519065_0.7318234857210881","host":"s3://npm-registry-packages-npm-production"},"readme":"# detective-vue2\n\n[![CI](https://img.shields.io/github/actions/workflow/status/dependents/detective-vue2/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/detective-vue2/actions/workflows/ci.yml?query=branch%3Amain)\n[![npm version](https://img.shields.io/npm/v/detective-vue2?logo=npm&logoColor=fff)](https://www.npmjs.com/package/detective-vue2)\n[![npm downloads](https://img.shields.io/npm/dm/detective-vue2)](https://www.npmjs.com/package/detective-vue2)\n\n> Get the dependencies of Vue module. Supports Vue2 and Vue3\n\n```sh\nnpm install detective-vue2 typescript\n```\n\n## Usage\n\n### ESM\n\n```js\nimport fs from 'node:fs';\nimport detective from 'detective-vue2';\n\nconst content = fs.readFileSync('myfile.vue', 'utf8');\n\n// Pass in a file's content or an AST\nconst dependencies = detective(content);\n```\n\n### CommonJS\n\n```js\nconst { default: detective } = require('detective-vue2');\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1779200519235,"_cnpm_publish_time":1779200519235,"dist-tags":{"latest":"3.0.1"}}