@f/svg-namespace

SVG element namespace string

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Jan 7, 2016Jan 7, 2016Minified + gzip package size for @f/svg-namespace in KB

Readme

svg-namespace

Build status Git tag NPM version Code style

SVG element namespace string

Installation

$ npm install @f/svg-namespace

Usage

var svgNs = require('@f/svg-namespace')

function createSvgElement (tag) {
  return document.createElementNS(tag, svgNs)
}

License

MIT

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.