-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation on how to use outside of Node (in the browser / Deno) #290
Comments
What exact problem you have with ESM?
I know Deno has introduced Node dependencies support, but I don't know whether I should be bothered to explore that, since that should also allow you to reference |
It appears that esm.sh works very well for this package, so I guess this issue is more "please write documentation on how to use outside of node (in the browser / Deno)". Rather than a "this doesn't work please fix". |
Ok. Rewriting the documentation - planned, but no ETA. Although this can be taken as I shouldn't be worried much about current Readme content, and it can be a field for experimentation. Anyone can also just write down how-tos/recipes in Discussions. But I withhold from using the "help wanted" badge, because even managing contributions can bring too much anxiety in the current situation. |
Problem to solve
I would love to use html-to-text in Deno.
What works
I can kind of hack this in by using esm.sh, but it's not ideal.
What is missing
A native ESM / Deno version using web APIs would be nice
How the missing feature should be implemented
Not entirely sure, I don't imagine it would take a lot of work since I don't see a reason to use node-specific APIs.
Bigger picture
I think that ESM modules are the future of javascript in general, so either converting this module to ESM, releasing a build with ESM, or improving docs on how to import this using web standard imports would be nice.
The text was updated successfully, but these errors were encountered: