Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
aasvg
Advanced tools
Readme
Convert ASCII art diagrams into SVG.
This is inspired by goat but rather than a reimplementation, this code uses the original markdeep code.
Install with npm install -g aasvg
.
Feed aasvg
an image and it will write an SVG. For example:
$ aasvg < example.txt > example.svg
By default, this does not place text characters on a grid one-by-one as the original markdeep code did.
The --spaces
command-line argument controls how text is combined. Use either
--spaces=0
or --stretch
to provide precise text placement.
--spaces=0
ensures that every character is placed separately; which is precise and avoids
text distortion, but makes for a larger SVG that is harder to search.
--stretch
can be used with --spaces
set to any value. --stretch
stretches
text to fit, which is less widely implemented in viewers (generally you don't
have to worry about this unless you are using an insane
profile) and might distort the
text a tiny bit because the metrics for the font used (the generic "monospace")
cannot be exactly controlled.
This tool draws black lines and text on a transparent background. In certain settings (such as GitHub when
a dark mode is enabled), this produces unfortunate results. If you inline the
resulting SVG, you can perform tricks with
CSS,
but if you are using <img>
, that isn't possible. Use the --backdrop
switch to generate a mostly-white backdrop for the image.
FAQs
Turn ASCII art diagrams into SVG
The npm package aasvg receives a total of 65 weekly downloads. As such, aasvg popularity was classified as not popular.
We found that aasvg demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.