Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Command line tool for generating a suite of various types of diagrams, each based on intuitive text DSLs.
See below for documentation/examples of the syntax/output for each of the currently supported diagrams type:
npm install -g diagrams
The diagrams CLI provides the watch
command that will automatically generate the .svg visualization of each diagram file format it supports. Run the following:
Watches the current directory and generates an .svg file in the same directory as any found file.
diagrams watch
Same as above but also first generates all .svg files before starting watch process
diagrams watch --build
To provide the target directory to watch just pass it as an argument right after the watch
command.
diagrams watch somedirectory --build
Documentation: Flowchart.js .
To generate flowcharts, run:
diagrams flowchart input.flowchart flowchart.svg
input.flowchart | flowchart.svg |
|
Documentation: Network Sequence Diagram Syntax .
To generate Network Sequence Diagrams, run:
diagrams sequence input.sequence sequence.svg
input.sequence | sequence.svg |
|
Documentation on the dot file format:
To generate diagrams from Graphviz's .dot file format, run:
diagrams dot input.dot dot.svg
input.dot | dot.svg |
|
Documentation see railroad-diagrams's documentation':
To generate Railroad Diagrams, run:
diagrams railroad input.railroad railroad.svg
input.railroad | railroad.svg |
|
It's a work in progress. See TODO.md.
FAQs
Generate Flowcharts, Network Sequence, Dot, and Railroad Diagrams
The npm package diagrams receives a total of 17 weekly downloads. As such, diagrams popularity was classified as not popular.
We found that diagrams demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.