xmlserializer

node v4.9.1
version: 1.0.0
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
const D3Node = require('d3-node'); const xmlserializer = require('xmlserializer'); const d3n = new D3Node(); var svg = d3n.createSVG() .style("width","1920px") .style("height","1080px") .attr("preserveAspectRatio","true"); svg.append("myCustomTag"); console.log(xmlserializer.serializeToString(svg.node()));
Loading…

no comments

    sign in to comment