svg

0.1.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i svg

      Weekly Downloads

      1,967

      Version

      0.1.0

      License

      none

      Last publish

      Collaborators

      • raynos