0.0.2 • Published 11 years ago
dom-array v0.0.2
dom-array
Turn any* input into array (of DOM nodes).
Input formats:
windowdocumentElementNodeListArrayStringundefinednull
Usage
var $ = require('dom-array');
$(); // []
$('title'); // [title]
$('title', document.body); // []
$('<title>'); // [title]Installation
$ npm install dom-arrayTest
$ npm testBrowser support
IE9+
