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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i part-element-type

      Weekly Downloads

      2

      Version

      0.0.1

      License

      none

      Last publish

      Collaborators

      • viatropos