{"_id":"@alexdrel/topos","name":"@alexdrel/topos","dist-tags":{"latest":"0.5.5"},"versions":{"0.5.5":{"name":"@alexdrel/topos","version":"0.5.5","description":"CLI renderer for Topos, bringing rich visualization and coding-agent support to plain-text ASCII diagrams.","keywords":["topos","diagram","architecture","ascii","asciidoc","ascii-art","system-design","documentation","architecture diagram","software architecture","system architecture","diagram as code","ascii diagram","network diagram","infrastructure diagram","technical documentation","coding agents","ai coding","svg","cli","command-line"],"author":{"name":"Alex Drel"},"private":false,"type":"module","license":"MIT","repository":{"type":"git","url":"git+https://github.com/alexdrel/topos.git","directory":"package-topos"},"homepage":"https://github.com/alexdrel/topos#readme","bugs":{"url":"https://github.com/alexdrel/topos/issues"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"imports":{"#topos-core":"./dist/topos-core.js"},"bin":{"topos":"dist/topos.js"},"gitHead":"9cf95f72b96fcc9adb839b63affd15f711044aed","_id":"@alexdrel/topos@0.5.5","_nodeVersion":"26.3.1","_npmVersion":"11.16.0","dist":{"integrity":"sha512-yU6NJGPwo86nInL4z6bYV/7HOBE7bLW9da662PRpKvCPEDtRTIihD3m8mgxSlRBpP/4Cb8RwPPwa0VnHgeeFMQ==","shasum":"da5966ea9adaed89f246a0f46dd0b05208bbec45","tarball":"https://registry.npmjs.org/@alexdrel/topos/-/topos-0.5.5.tgz","fileCount":5,"unpackedSize":218513,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC6Ct/IdZ/KIVXQkiidbjuPveKPEDYDditLchm+qtG0twIhAMuFHrhdYP+Khoe94ba84cdLrGMXuPc+QIOxqCT0Ibm/"}]},"_npmUser":{"name":"alexdrel","email":"alexdrel@gmail.com"},"directories":{},"maintainers":[{"name":"alexdrel","email":"alexdrel@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/topos_0.5.5_1787593667216_0.9577118054333207"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-24T17:47:47.016Z","0.5.5":"2026-08-24T17:47:47.366Z","modified":"2026-08-24T17:47:47.588Z"},"maintainers":[{"name":"alexdrel","email":"alexdrel@gmail.com"}],"description":"CLI renderer for Topos, bringing rich visualization and coding-agent support to plain-text ASCII diagrams.","homepage":"https://github.com/alexdrel/topos#readme","keywords":["topos","diagram","architecture","ascii","asciidoc","ascii-art","system-design","documentation","architecture diagram","software architecture","system architecture","diagram as code","ascii diagram","network diagram","infrastructure diagram","technical documentation","coding agents","ai coding","svg","cli","command-line"],"repository":{"type":"git","url":"git+https://github.com/alexdrel/topos.git","directory":"package-topos"},"author":{"name":"Alex Drel"},"bugs":{"url":"https://github.com/alexdrel/topos/issues"},"license":"MIT","readme":"# Topos - AI-Era ASCII Diagrams CLI\n\nTopos brings direct graphical editing and rich visualization to plain-text ASCII diagrams. This package provides its `topos` command-line renderer for turning `.topos` files into presentation-quality SVG and inspecting their semantic structure as JSON—ideal for terminals, scripts, build pipelines, and coding agents.\n\nFor the complete Topos experience—including visual editing, live previews, Markdown integration, and image export—use the VS Code extension. Visit the [Topos project on GitHub](https://github.com/alexdrel/topos) for the extension, documentation, examples, and source code.\n\n## Install\n\nInstall the command globally:\n\n```sh\nnpm install --global @alexdrel/topos\n```\n\nOr run it without a global installation:\n\n```sh\nnpx @alexdrel/topos diagram.topos\n```\n\n## Render\n\nRender a file with the `topos` command:\n\n```sh\ntopos diagram.topos\ntopos diagram.topos - > diagram.svg\ntopos diagram.topos -o diagram.svg -d\ntopos diagram.topos --inspect\ntopos --version\n```\n\nUse `-` as the input filename to read standard input; it writes SVG to standard output unless `-o` supplies a file. Rendering parameters use `name=value`; add `--override` when command-line values should take priority over parameters authored in the diagram.\n\n## Inspect\n\nAdd `--inspect` to print the resolved diagram as semantic JSON. Inspection includes the annotated node hierarchy, connections, formatting, visual intent, and compact geometry. It is intended for understanding and validating what Topos parsed, and is especially useful to coding assistants. Inspection is written to standard output; SVG file output still proceeds normally, so this produces both artifacts in one pass:\n\n```sh\ntopos diagram.topos -o diagram.svg --inspect > diagram.inspect.json\n```\n\nThe inspection JSON is not a stable API and is not intended to become one. Its shape may change whenever a clearer or more useful representation is found.\n\nThe supported interface of this package is the `topos` command. Bundled implementation modules are internal and may change without notice.\n","readmeFilename":"README.md","_rev":"1-38bb3e8151151641b4772bed5e480daf"}