openflowkit 0.0.0-stage → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +17 -2
- package/openflowkit-mcp.js +3 -0
- package/openflowkit.js +3 -0
- package/package.json +13 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Varun
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
#
|
|
1
|
+
# openflowkit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The [OpenFlowKit](https://openflowkit.com) command line. Turn diagram text into SVG, check diagrams in CI, and map a repository.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx openflowkit render flow.mmd -o flow.svg # Mermaid, D2, Structurizr or OpenFlow DSL → SVG
|
|
7
|
+
npx openflowkit convert flow.mmd -o flow.openflow.json # → a file you can open and edit in the app
|
|
8
|
+
npx openflowkit validate flow.ofk # line-by-line errors; exit 1 on a broken diagram
|
|
9
|
+
npx openflowkit discover . # propose an architecture model from the repo
|
|
10
|
+
npx openflowkit map . --html map.html # what the repo is made of, as a page
|
|
11
|
+
npx openflowkit --help # every command
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Install it once with `npm i -g openflowkit`, then run `openflowkit …`.
|
|
15
|
+
|
|
16
|
+
This package is a short name for [`@vrun-design/openflowkit-mcp`](https://www.npmjs.com/package/@vrun-design/openflowkit-mcp), which also ships the MCP server for Claude Code, Cursor and other agents. Docs: [docs.openflowkit.com/cli](https://docs.openflowkit.com/cli/).
|
|
17
|
+
|
|
18
|
+
MIT licensed.
|
package/openflowkit.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openflowkit",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "The OpenFlowKit CLI: render Mermaid, D2, Structurizr or OpenFlow DSL to SVG, validate diagrams in CI, map a repo. Same as @vrun-design/openflowkit-mcp.",
|
|
5
|
+
"keywords": ["diagram", "cli", "mermaid", "d2", "structurizr", "svg", "architecture", "mcp", "openflowkit"],
|
|
6
|
+
"homepage": "https://docs.openflowkit.com/cli/",
|
|
7
|
+
"bugs": "https://github.com/Vrun-design/openflowkit/issues",
|
|
8
|
+
"repository": { "type": "git", "url": "https://github.com/Vrun-design/openflowkit.git", "directory": "cli" },
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"bin": { "openflowkit": "./openflowkit.js", "openflowkit-mcp": "./openflowkit-mcp.js" },
|
|
12
|
+
"files": ["openflowkit.js", "openflowkit-mcp.js", "README.md", "LICENSE"],
|
|
13
|
+
"engines": { "node": ">=20.11" },
|
|
14
|
+
"dependencies": { "@vrun-design/openflowkit-mcp": ">=0.2.1 <1.0.0" }
|
|
15
|
+
}
|