node-html-to-text icon indicating copy to clipboard operation
node-html-to-text copied to clipboard

Load HTML to TEXT on a html file, without node and without composer.

Open Schiocco opened this issue 2 years ago • 3 comments

I think the software is great, but it seems like composer is becoming the go-to option for everything nowadays. However, I believe that using composer to include projects for the web can be quite challenging and time-consuming.

Is there a way to load this script normally by including a script like this?

It would take 1 second instead of 1 hour...

Thank you!

Schiocco avatar May 26 '23 12:05 Schiocco

I don't speak this language. Explain it like ~~I'm five~~ I've never worked with frontend (which is pretty accurate).

KillyMXI avatar May 26 '23 13:05 KillyMXI

I got that you need a bundled package.

Someone else mentioned https://esm.sh/ - that might be helpful, but I haven't used it myself to be sure.

Are there best practices to publish bundled packages for the web? I can see how to produce a bundle as a separate build step, but what the best place to host it - I'll have to explore the options.

KillyMXI avatar May 26 '23 13:05 KillyMXI

+1 for me; publishing a release here on GIT could be a good start I'll just download and use it within my projects. If the import could be a ESM format it would be great Thanks

gioppoluca avatar Nov 05 '23 16:11 gioppoluca