leetreveil / musicmetadata

Streaming music metadata parser for node and the browser.
561 stars 66 forks source link

Webpack, fs and HTML 5 File object #128

Closed anshul-kai closed 8 years ago

anshul-kai commented 8 years ago

I'm having trouble using this with Webpack as it doesn't support the use of fs. My goal is to use a File object sourced from an <input type="file" /> element. Is there a way to make this work with just a File object?

Thank you!

leetreveil commented 8 years ago

Yeah there's a heavy dependency on node modules which have to be built with browserfy.

You might want to try the pre packaged version:

https://github.com/leetreveil/musicmetadata/blob/master/dist/musicmetadata.js