@hansogj/find-js
TypeScript icon, indicating that this package has built-in type declarations

6.3.0 • Public • Published

find-js

Returns an iterable array of node-elements.

Usage

JS

// either
const find = require("@hansogj/find-js").default;

//or
<script src="../node_modules/@hansogj/find-js/dist/index.js"></script>
const find = window.find.default;

----
console.log(find('h2', window.document.body));

TS

import find from 'find-js';

console.log(find('h2', window.document.body));

Package Sidebar

Install

npm i @hansogj/find-js

Weekly Downloads

16

Version

6.3.0

License

MIT

Unpacked Size

6.21 kB

Total Files

7

Last publish

Collaborators

  • hansogj