{"name":"detective-vue2","version":"3.0.1","author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"description":"Get the dependencies of a Vue module","type":"module","exports":{".":"./index.js"},"scripts":{"lint":"xo","fix":"xo --fix","vitest":"vitest","test":"npm run lint && vitest run","test:ci":"vitest run --coverage","watch":"vitest"},"repository":{"type":"git","url":"git+https://github.com/dependents/detective-vue2.git"},"keywords":["detective","dependencies","module","ast","import","vue"],"license":"MIT","bugs":{"url":"https://github.com/dependents/detective-vue2/issues"},"homepage":"https://github.com/dependents/detective-vue2","engines":{"node":">=20.19.0 || >=22.12.0"},"peerDependencies":{"typescript":"^5.4.4 || ^6.0.2"},"dependencies":{"@dependents/detective-less":"^6.0.1","@vue/compiler-sfc":"^3.5.35","detective-es6":"^6.0.0","detective-sass":"^7.0.1","detective-scss":"^6.0.1","detective-stylus":"^6.0.0","detective-typescript":"^15.0.0"},"devDependencies":{"@vitest/coverage-v8":"^4.1.8","typescript":"^6.0.3","vitest":"^4.1.8","xo":"^2.0.2"},"gitHead":"d01ba5c401867bb522137530ccd43b4fc51b9a6a","_id":"detective-vue2@3.0.1","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-5k3MvsTytl4Ci0whix9pro56toTH3wallMAj8X9FLG3d0NuZ9WJn1u55A6ltBWrDaCewXl/Knr4jYGWxETuvGQ==","shasum":"77dc5361acc21c124f4b09ff37612f397153cfcd","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-3.0.1.tgz","fileCount":4,"unpackedSize":5010,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCv5gPhiWOJgsmu/W47NgNIMdxF6/yR4cAxmajNz9Q2VAIgTe2Kz/gtJ0Cs3iAowyTP+U8h7AlLQjR+4c3yRA750pc="}],"size":2186,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-3.0.1.tgz"},"_npmUser":{"name":"xhmikosr","email":"xhmikosr@gmail.com"},"directories":{},"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"havunen","email":"sampo.kivisto@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detective-vue2_3.0.1_1780771761778_0.17000381813106724"},"_hasShrinkwrap":false,"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":1780771761940,"_cnpm_publish_time":1780771761940,"dist-tags":{"latest":"3.0.1"}}