Install $ npm install --save select-item Usage <script src="/select-item/index.js"></script> <script> $("#box"); // it will return single element $$("#boxs"); // it will return multiple element as array of node </script>