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/parse5Use
<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.