
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@onegini/websequencediagrams
Advanced tools
Call the WebSequenceDiagram.com API.
Example:
var wsd = require('websequencediagrams');
var fs = require('fs');
wsd.diagram("Alice->Bob: message", "modern-blue", "png", function(er, buf, typ) {
if (er) {
console.error(er);
} else {
console.log("Received MIME type:", typ);
fs.writeFile("my.png", buf);
}
});
Takes the text to turn into a diagram, the style name, the output type, and a callback.
Valid output types include "png", "svg", and "pdf".
The callback takes an error, a Buffer, and a MIME type
.styles is an array of all of the currently-known style types.
.root is the URL for the service, which defaults to "http://www.websequencediagrams.com". It can be modified to suit your needs.
This code is licensed under the Apache Software License, 2.0
0.0.7
Date: 10-02-2020
FAQs
Interface to websequencediagrams.com
We found that @onegini/websequencediagrams demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.