{"name":"detective-vue2","version":"2.1.2","keywords":["detective","dependencies","module","ast","import","vue"],"author":{"name":"Havunen","email":"sampo.kivisto@live.fi"},"license":"MIT","_id":"detective-vue2@2.1.2","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":"b773308463d1209aa233f9ccd7d5a29065cce3f5","tarball":"http://registry-npm.ywwl.com/detective-vue2/download/detective-vue2-2.1.2.tgz","fileCount":4,"integrity":"sha512-/uDzKDYTeLJTsgSJR5zNxj48umamdvn2OftjgwVxa2Ir2JjFjlgGRcWU2lJ354enjiGbRe1ZIapz/6s+e5lthw==","signatures":[{"sig":"MEUCIDTAHVXJMtOJ2NntYiqG7iUc0kQofq4SWf/KVld9u2LwAiEAgaC7tE7JXRLkcj/GRuzVvK07q+DSk+/Yoq5TLsoD4yA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5647,"size":2358,"noattachment":false,"key":"/detective-vue2/-/detective-vue2-2.1.2.tgz"},"main":"index.js","engines":{"node":">=18"},"gitHead":"7021f98a8005a69098d6f1473582e4f95001a7bd","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":"xhmikosr","email":"xhmikosr@gmail.com"},"repository":{"url":"git+https://github.com/dependents/detective-vue2.git","type":"git"},"_npmVersion":"10.8.2","description":"Get the dependencies of a Vue module","directories":{},"_nodeVersion":"20.18.2","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.13","detective-typescript":"^13.0.0","@dependents/detective-less":"^5.0.1"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","xo":"^0.60.0","mocha":"^11.1.0"},"peerDependencies":{"typescript":"^5.4.4"},"_npmOperationalInternal":{"tmp":"tmp/detective-vue2_2.1.2_1738416287558_0.42043557697032163","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":1738416287743,"maintainers":[{"name":"xhmikosr","email":"xhmikosr@gmail.com"},{"name":"havunen","email":"sampo.kivisto@proton.me"}],"_cnpm_publish_time":1738416287743,"dist-tags":{"latest":"3.0.1"}}