[Pkg-javascript-devel] Bug#1002730: ITP: aasvg -- Convert ASCII art diagrams into SVG

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Dec 28 13:24:02 GMT 2021


Package: wnpp
X-Debbugs-Cc: dkg at fifthhorseman.net, pkg-javascript-devel at alioth-lists.debian.net

Severity: wishlist
Control: affects -1 src:xml2rfc

* Package name    : aasvg
  Version         : 0.1.7
  Upstream Author : Martin Thomson <mt at lowentropy.net>
* URL             : https://github.com/martinthomson/aasvg
* License         : 2-clausse BSD
  Programming Lang: Javascript
  Description     : Convert ASCII art diagrams into SVG

aasvg converts ASCII art diagrams into SVG diagrams.

This is a very simple (no package dependencies afaict) script that
runs on top of node.js.  It is available from npm with "npm install -g
aasvg", but that doesn't seem to be necessary (it runs from a git
checkout directly with nothing but the nodejs package installed on
debian).

The bulk of the code (1424 lines) is in markdeep-diagram.js, which
itself is branched from the original markdeep.js, version 1.13.

This is useful when used with xml2rfc when creating block diagrams
(see
https://github.com/cabo/kramdown-rfc2629/issues/151#issuecomment-984385748 )

I will package this in a simple way, but if anyone from the javascript
team wants to take this over to do it in a more team-preferred way,
I'd welcome any guidance.



More information about the Pkg-javascript-devel mailing list