@annotator/fragment-identifier
Convert to and from Web Annotation fragment identifiers.
Usage no npm install needed!
<script type="module">
import annotatorFragmentIdentifier from 'https://cdn.skypack.dev/@annotator/fragment-identifier';
</script>