Gathering detailed insights and metrics for @ts-graphviz/ast
Gathering detailed insights and metrics for @ts-graphviz/ast
Gathering detailed insights and metrics for @ts-graphviz/ast
Gathering detailed insights and metrics for @ts-graphviz/ast
npm install @ts-graphviz/ast
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.8
Supply Chain
84.4
Quality
84.5
Maintenance
100
Vulnerability
100
License
ts-graphviz@2.1.6
Updated on Jan 21, 2025
@ts-graphviz/react@0.10.6
Updated on Jan 21, 2025
@ts-graphviz/core@2.0.7
Updated on Jan 21, 2025
@ts-graphviz/ast@2.0.7
Updated on Jan 21, 2025
ts-graphviz@2.1.5
Updated on Nov 27, 2024
@ts-graphviz/react@0.10.5
Updated on Nov 27, 2024
TypeScript (96.08%)
PEG.js (3.11%)
JavaScript (0.81%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
172 Stars
667 Commits
14 Forks
3 Watchers
55 Branches
9 Contributors
Updated on Jul 05, 2025
Latest Version
2.0.7
Package Id
@ts-graphviz/ast@2.0.7
Unpacked Size
276.90 kB
Size
44.75 kB
File Count
7
NPM Version
10.8.2
Node Version
20.18.1
Published on
Jan 21, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
5
It is part of the ts-graphviz library, which is split into modular packages to improve maintainability, flexibility, and ease of use.
This package contains the module for processing the DOT language at the Abstract Syntax Tree (AST) level for the ts-graphviz library.
Import the necessary functions and classes from the @ts-graphviz/ast
package:
1import { parse, stringify } from '@ts-graphviz/ast';
Use the imported items in your project to work with DOT language ASTs:
1const dotString = 'digraph G { A -> B; }'; 2const ast = parse(dotString); 3 4const outputDotString = stringify(ast); 5console.log('Output DOT string:', outputDotString);
For more examples and usage details, please refer to the ts-graphviz documentation.
Contributions to the ts-graphviz project are welcome.
Please refer to the main ts-graphviz repository for guidelines on how to contribute.
This package is released under the MIT License.
No vulnerabilities found.
Reason
update tool detected
Details
Reason
security policy file detected
Details
Reason
30 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
all dependencies are pinned
Details
Reason
0 existing vulnerabilities detected
Reason
SAST tool detected but not run on all commits
Details
Reason
15 out of 19 merged PRs checked by a CI test -- score normalized to 7
Reason
badge detected: Passing
Reason
project has 1 contributing companies or organizations -- score normalized to 3
Details
Reason
Found 1/26 approved changesets -- score normalized to 0
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-10T03:00:31Z
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More