part-element-type

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i part-element-type

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • viatropos