Import in pure javascript

I am going to use yjs library in html page.
how can import it using script tag?

There is no Yjs bundle that you can include via a tag, as you would do with jQuery. But it should be easy to import Yjs as an esm module from a CDN. This works in the browser:

<script type="module">
import * as Y from 'https://esm.sh/yjs@13'
</script>

Hi,
not working for me inside of my chrome browser.

Uncaught SyntaxError: The requested module '/v128/crypto-browserify@3.12.0/es2022/crypto-browserify.mjs' does not provide an export named 'webcrypto' (at webcrypto.node.js:2:10)

Searched arround but without a working solution.