ageitgey / node-unfluff

Automatically extract body content (and other cool stuff) from an html document
Apache License 2.0
2.15k stars 221 forks source link

How can I use this script inside an html page? #82

Closed inglesuniversal closed 6 years ago

inglesuniversal commented 6 years ago

Do you have a sample where I can use javascript or jquery to use it?

Do I have to bundle this package in order to work as a standalone webpage ?

ageitgey commented 6 years ago

This library won't work inside a browser because it depends on some data files it reads from disk. But there's an old PR that shows one way you could use it in a browser if you were adventurous: #68