{"name":"detective-vue2","version":"2.1.1","keywords":["detective","dependencies","module","ast","import","vue"],"author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"license":"MIT","_id":"detective-vue2@2.1.1","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":"96e8c1b08e18776f6a5f1acf9f5472b5236b4dbe","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-2.1.1.tgz","fileCount":4,"integrity":"sha512-/TQ+cs4qmSyhgESjyBXxoUuh36XjS06+UhCItWcGGOpXmU3KBRGRknG+tDzv2dASn1+UJUm2rhpDFa9TWT0dFw==","signatures":[{"sig":"MEUCIALTB+NnaZr7JN3wht9XygZMWAP17X8AlhVRkdHu6WgpAiEAt69N+emJ25u50QnAj2niGplnu7krPQyE7B+md8KHAsc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5647,"size":2344,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-2.1.1.tgz"},"main":"index.js","engines":{"node":">=18"},"gitHead":"4225daf2d5568483d1cbebcd1613666d4538c459","scripts":{"fix":"xo --fix","lint":"xo","test":"npm run lint && npm run mocha","mocha":"mocha","watch":"npm run mocha -- -w","test:ci":"c8 npm run mocha"},"_npmUser":{"name":"havunen","email":"sampo.kivisto@proton.me"},"repository":{"url":"git+https://github.com/dependents/detective-vue2.git","type":"git"},"_npmVersion":"11.0.0","description":"Get the dependencies of a Vue module","directories":{},"_nodeVersion":"23.4.0","dependencies":{"detective-es6":"^5.0.0","detective-sass":"^6.0.0","detective-scss":"^5.0.0","detective-stylus":"^5.0.0","@vue/compiler-sfc":"^3.5.13","detective-typescript":"^13.0.0","@dependents/detective-less":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","xo":"^0.60.0","mocha":"^11.0.1"},"peerDependencies":{"typescript":"^5.4.4"},"_npmOperationalInternal":{"tmp":"tmp/detective-vue2_2.1.1_1737469460495_0.8981533863161446","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```js\nconst fs = require('fs');\nconst detective = require('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## License\n\n[MIT](LICENSE)\n","publish_time":1737469460722,"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"havunen","email":"sampo.kivisto@proton.me"}],"_cnpm_publish_time":1737469460722,"dist-tags":{"latest":"3.0.1"}}