npm.io
1.0.2 • Published 10 years ago

@f/html-attrs

Licence
MIT
Version
1.0.2
Deps
0
Vulns
0
Weekly
0
Stars
1

html-attrs

Build status Git tag NPM version Code style

Map of all valid HTML attributes

Installation

$ npm install @f/html-attrs

Usage

var htmlAttrs = require('@f/html-attrs')

function isHtmlAttr (attr) {
  return htmlAttrs.hasOwnProperty(attr)
}

License

MIT