node-htmlparser icon indicating copy to clipboard operation
node-htmlparser copied to clipboard

Add CommonJS/AMD support with UMD wrapper.

Open kruppel opened this issue 10 years ago • 0 comments

In attempting to use this lib as a dependency, I was unable to use it in the browser as anything other than a global. This patch wraps htmlparser with a UMD pattern, so that loading via AMD or CommonJS is supported.

kruppel avatar Dec 21 '14 16:12 kruppel