{"name":"detective-vue2","version":"2.3.0","keywords":["detective","dependencies","module","ast","import","vue"],"author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"license":"MIT","_id":"detective-vue2@2.3.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"},"xo":{"rules":{"curly":["error","multi-line"],"comma-dangle":["error","never"],"arrow-body-style":"off","operator-linebreak":["error","after"],"capitalized-comments":"off","object-curly-spacing":["error","always"],"unicorn/prefer-module":"off","space-before-function-paren":["error","never"],"unicorn/prefer-node-protocol":"off","unicorn/prevent-abbreviations":"off","unicorn/prefer-top-level-await":"off"},"space":true,"ignores":["test/fixtures/*"]},"dist":{"shasum":"8e2029a96ef5dcfb57c5d9fe05ba2308d6ea2b8e","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-2.3.0.tgz","fileCount":4,"integrity":"sha512-3gwbZPqVTm9sL9XdZsgEJ7x4x99O853VVZHapQAiEkGuMJMpFPjHDrecSgfqnS5JW3FJfYXesLZGvUOibjn49g==","signatures":[{"sig":"MEUCIFHDDbYznVma9QjciBWsZ+xCeGHyBPAk82JEn6PonnntAiEAgUQvuL7eOT66YxvWj5IB+ZFxhLuvpyICIG3SsVel2Ns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5685,"size":2380,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-2.3.0.tgz"},"main":"index.js","engines":{"node":">=18"},"gitHead":"40703af86199b989fd110e2c94dbf338e453b2a2","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":"^5.0.1","detective-sass":"^6.0.1","detective-scss":"^5.0.1","detective-stylus":"^5.0.1","@vue/compiler-sfc":"^3.5.32","detective-typescript":"^14.1.0","@dependents/detective-less":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","xo":"^0.60.0","uvu":"^0.5.6","typescript":"^6.0.3"},"peerDependencies":{"typescript":"^5.4.4 || ^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/detective-vue2_2.3.0_1776531868875_0.1878859641954551","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":1776531869028,"_cnpm_publish_time":1776531869028,"dist-tags":{"latest":"3.0.1"}}