{"name":"detective-stylus","version":"1.0.0","description":"Get the dependencies of a Stylus file","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha"},"repository":{"type":"git","url":"https://github.com/mrjoelkemp/node-detective-stylus.git"},"keywords":["stylus","ast","static","analysis","dependencies"],"author":{"name":"Joel Kemp","email":"joel@mrjoelkemp.com","url":"http://www.mrjoelkemp.com/"},"license":"MIT","bugs":{"url":"https://github.com/mrjoelkemp/node-detective-stylus/issues"},"homepage":"https://github.com/mrjoelkemp/node-detective-stylus","gitHead":"12b13c66da78813734306402b99e296c91135d35","_id":"detective-stylus@1.0.0","_shasum":"50aee7db8babb990381f010c63fabba5b58e54cd","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"},"maintainers":[{"name":"mrjoelkemp","email":"joel@mrjoelkemp.com"}],"dist":{"shasum":"50aee7db8babb990381f010c63fabba5b58e54cd","tarball":"http://registry-npm.ywwl.com/detective-stylus/download/detective-stylus-1.0.0.tgz","integrity":"sha512-HelsT2sUFhMHumcu96Fq8tKQLLeIxMbEmj5zhPYQojuL9qJRUFlX39YsqIwBE9ttxNSI5DM3xO/NTkG4BYV5eA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuTgmp6ISGqcwOayDeD4dKzluf890XzdCXnBlhVL8P3AiEAn9X6Bgqac20ZSRuHf3DKeIeHTn1ubnMVtD62i1AG0CI="}],"size":1423,"noattachment":false,"key":"/detective-stylus/-/detective-stylus-1.0.0.tgz"},"readme":"# detective-stylus\n\n[![CI](https://img.shields.io/github/actions/workflow/status/dependents/node-detective-stylus/ci.yml?branch=main&label=CI&logo=github)](https://github.com/dependents/node-detective-stylus/actions/workflows/ci.yml?query=branch%3Amain)\n[![npm version](https://img.shields.io/npm/v/detective-stylus?logo=npm&logoColor=fff)](https://www.npmjs.com/package/detective-stylus)\n[![npm downloads](https://img.shields.io/npm/dm/detective-stylus)](https://www.npmjs.com/package/detective-stylus)\n\n> Find the dependencies of a Stylus file\n\n```sh\nnpm install detective-stylus\n```\n\nIt's the Stylus counterpart to\n[detective](https://github.com/substack/node-detective),\n[detective-amd](https://github.com/dependents/node-detective-amd),\n[detective-es6](https://github.com/dependents/node-detective-es6),\nand [detective-sass](https://github.com/dependents/node-detective-sass).\n\nNote: this detective uses a regex to find the `@import` or `@require` statements.\n\n## Usage\n\n```js\nconst fs = require('fs');\nconst detective = require('detective-stylus');\n\nconst content = fs.readFileSync('styles.styl', 'utf8');\n\n// list of imported file names (ex: '_foo.styl', '_foo', etc)\nconst dependencies = detective(content);\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1435443294154,"_cnpm_publish_time":1435443294154,"dist-tags":{"latest":"6.0.0"}}