RubyFlow The Ruby and Rails community linklog

Filetype, find a files type via its name or extension

I just launched Filetype. An extremely simple library for returning a file type from a file name or file extension.

Filetype needs lots more names and extensions added so please come and show me some I’ve never seen before!

Comments

Why not simply use Mime::Types, admittedly it’s not a very project, but it does the job pretty well, imho.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in