wikimedia / html-metadata

MetaData html scraper and parser for Node.js (supports Promises and callback style)
MIT License
138 stars 43 forks source link

Support Browserify #24

Open martindale opened 8 years ago

martindale commented 8 years ago

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 8 years ago

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 :)!