{"_id":"@aux4/graph-cycle-detector","name":"@aux4/graph-cycle-detector","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.3":{"name":"@aux4/graph-cycle-detector","type":"module","version":"1.0.3","description":"Graph Cycle Detector","main":"index.js","preferGlobal":true,"bin":{"graph-cycle-detector":"index.js"},"scripts":{"test":"jest"},"keywords":["graph","cycle","detector","terraform"],"author":{"name":"Aux4"},"license":"Apache-2.0","dependencies":{"open":"^9.1.0","pako":"^2.1.0"},"gitHead":"c2ea4f64d377d17e75d4fcf9e0938e69fe100088","_id":"@aux4/graph-cycle-detector@1.0.3","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-0pY+7uCvVaEKlACJFVEe629um1H7zFFgwVhPD/8GAbu2ycQ+DICWTNdg2FseyoDCD8tBp7iaTd1S5eQtFu/f8Q==","shasum":"614b79bd48acab40e2dee0ac9e211684cfa65033","tarball":"https://registry.npmjs.org/@aux4/graph-cycle-detector/-/graph-cycle-detector-1.0.3.tgz","fileCount":3,"unpackedSize":4218,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFzMFExj/XXVfgm3fIJLX2uBwpcmf43vlAaeCId95NWfAiEAjALuOewRkQYLYRx4k8/DkIpdB02RqwlYOZmCfnXroLQ="}]},"_npmUser":{"name":"aux4-dev","email":"contact@aux4.io"},"directories":{},"maintainers":[{"name":"aux4-dev","email":"contact@aux4.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graph-cycle-detector_1.0.3_1685458535446_0.17420747192053665"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-30T14:55:35.372Z","1.0.3":"2023-05-30T14:55:35.619Z","modified":"2023-05-30T14:55:35.766Z"},"maintainers":[{"name":"aux4-dev","email":"contact@aux4.io"}],"description":"Graph Cycle Detector","keywords":["graph","cycle","detector","terraform"],"author":{"name":"Aux4"},"license":"Apache-2.0","readme":"# graph-cycle-detector\nA simple graph cycle detector.\n\n## Install\n\n```\nnpm install --global @aux4/graph-cycle-detector\n```\n\n## Usage\n\n### Simple Graph\n\n#### graph.txt\n```\nA -> B\nB -> C\nC -> D\nD -> E\nD -> A\nE -> F\n```\n\n```\n$ cat graph.txt | graph-cycle-detector\n\nstateDiagram-v2\n  C --> D\n  D --> A\n  B --> C\n  A --> B\n```\n\nIt will automatically open [Mermaid Live Editor](https://mermaid.live/edit#pako:eNpFjstugzAQRX8FzTqEAilJvKiUhC676tabiR_YEmBkxpEixL_Hpoq6O3Pv0cwsIJxUwGAmJNVa7DwO-aPiY5bdsjz_ytqE7YaXhNcNbwkvG15hB4PyA1oZ9yyp4EBGDYoDiyiVxtATBz6uUcVA7vc5CmDkg9pBmOT_5XeopCXnf_5e2z58i99bA0xjP0exdyhVHBeg55Tkzs4UZeFGbbuUB9_H2BBNMyuKVO87Sybc98INxWylQU_mcW6KpmpOWNWqOdb4WddS3MvzSVeHUsvjR1khrOv6AvXhYCs) in your default browser.\n\n#### Without Open Mermaid Live Editor\n\n```\n$ cat graph.txt | graph-cycle-detector --no-open\n```\n\n### Terraform\n\n```\n$ terraform graph | graph-cycle-detector --terraform\n```","readmeFilename":"README.md"}