DamonOehlman / filestream

W3C File Reader API streaming interfaces
30 stars 11 forks source link

remove mime type from metadata; include extension #8

Closed feross closed 10 years ago

feross commented 10 years ago

this is to remove the mime-component dependency which adds 35kb to the bundle size.

this should bump the major version since it’s a breaking change. it’s pretty easy to migrate to the new version by simply requiring mime-component and calling mime.lookup(file.extension).

closes #7

DamonOehlman commented 10 years ago

Thanks @feross - I'll merge that now and push a new version (bump major as suggested) :)

feross commented 10 years ago

Thanks for the fast merge and publish!

DamonOehlman commented 10 years ago

No worries - all done :)