svg

Create svg elements from a string

Stats

StarsIssuesVersionUpdatedCreatedSize
svg
820.1.07 years ago9 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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.