JSPM

@bundled-es-modules/parse5

5.1.0
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 6
    • Score
      100M100P100Q76302F

    mirror of parse5, bundled and exposed as ES module

    Package Exports

    • @bundled-es-modules/parse5

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bundled-es-modules/parse5) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    parse5

    This is a mirror of parse5, bundled and exposed as ES module.

    Install

    npm install @bundled-es-modules/parse5
    bower install bundled-es-modules/parse5

    Use

    <script type="module">
      // from main file
      import { parse, parseFragment, serialize } from 'parse5';
      // or directly
      import { parse, parseFragment, serialize } from 'parse5/parse5.js';
      console.log(parse, parseFragment, serialize);
    </script>

    Make sure you added @bundled-es-modules scope to the path if used via npm.