Skip to content
Sections
>> Trisquel >> Packages >> aramo >> javascript >> node-d3-path
etiona  ] [  nabia  ] [  aramo  ]
[ Source: node-d3-path  ]

Package: node-d3-path (1.0.9-2)

Serialize Canvas path commands to SVG

Say you have some code that draws to a 2D canvas, the d3-path module lets you take this exact code and additionally render to SVG. It works by serializing CanvasPathMethods calls to SVG path data.

Now code you write once can be used with both Canvas (for performance) and SVG (for convenience). For a practical example, see d3-shape.

Node.js is an event-based server-side JavaScript engine.

Other Packages Related to node-d3-path

  • depends
  • recommends
  • suggests
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable

Download node-d3-path

Download for all available architectures
Architecture Package Size Installed Size Files
all 8.1 kB31 kB [list of files]