wikimedia/html-metadata

Support Browserify

Opened this issue · 1 comments

This is a wonderful module, but it seems difficult to browserify (CORS being the a least one of your concerns). Perhaps we use something other than Cheerio for a browser context?

mvolz commented

We were considering using domino for expense reasons, but have temporarily tabled it due to an external library using cheerio (the schema.org one)- we'd have to do our own implementation of that library before switching. Would domino be easier to browserify? That is something that could potentially happen.

We don't currently have an internal use for making it browserifiable generally though so it would probably not happen in the near future unless of course you'd like to fork/implement it yourself- always happy to take pull requests to make the library more useful :)!