Skip to content

Documentation on how to use outside of Node (in the browser / Deno) #290

@lino-levan

Description

@lino-levan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions