1.2.0 • Published 8 years ago
is-svg-attribute v1.2.0
is-svg-attribute
Check if an attribute name is an SVG attribute.
npm install is-svg-attribute
API
var isSVGAttribute = require('is-svg-attribute')
isSVGAttribute('cx') // true
isSVGAttribute('gradientTransform') // true
isSVGAttribute('class') // false