
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@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
The npm package @onegini/websequencediagrams receives a total of 0 weekly downloads. As such, @onegini/websequencediagrams popularity was classified as not popular.
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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.