sindresorhus/image-type

Document what happens when the buffer isn't an image

LinusU opened this issue · 2 comments

It would be good to add to the documentation that null is returned when an image format can't be found.

That's already documented:

Returns an object (or null when no match) with:

https://github.com/sindresorhus/image-type#imagetypebuffer

Oh, sorry, my bad