Part Element Type
Get DOM Element type, for node or the browser.
Installation
node.js:
$ npm install part-element-type
browser:
$ component install part/element-type
Example
var type = require('part-element-type');
type(document.querySelector('h1')) // 1
Licence
MIT