svg

Create svg elements from a string

npm install svg
1 downloads in the last week
9 downloads in the last month

svg

Create svg elements from a string

Example

var svg = require("svg")

var text = "<rect fill='blue' height='50' width='50'>"
var elem = svg(text)

Installation

npm install svg

Contributors

  • Raynos

MIT Licenced

npm loves you