svg

Create svg elements from a string

  • svg

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
svg
910.1.010 years ago12 years agoMinified + gzip package size for svg in KB

Readme

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