dom80-pmb

Yet another DOM utility library, optimized for Firefox.

Usage no npm install needed!

<script type="module">
  import dom80Pmb from 'https://cdn.skypack.dev/dom80-pmb';
</script>

README



dom80-pmb

Yet another DOM utility library, optimized for Firefox.

Usage

Here be dragons. Unstable pre-alpha.

Cheap browser import: To tell the UMD exporter you want dom80 on your window global, set the property name as the data-jsglobal-dom80-pmb attribute of your head element, e.g.

<!DOCTYPE html><html><head data-jsglobal-dom80-pmb="dom80">
  <!-- … -->
</head><body>
  <!-- … -->
  <script src="node_modules/dom80-pmb/dist/dom80.latest.min.js"></script>
  <script>dom80.qsMap('ul > li:first-child', console.log);</script>
</body></html>

Known issues

  • Needs more/better tests and docs.

 

License

ISC