libmagic-crystal alternatives and similar shards
Based on the "Low level bindings" category.
Alternatively, view libmagic-crystal alternatives based on common mentions on social networks and blogs.
Do you think we are missing an alternative of libmagic-crystal or a related project?
Crystal bindings for libmagic.
Add this to your application's
dependencies: libmagic-crystal: github: pablotron/libmagic-crystal
require "libmagic-crystal/magic" # create magic bindings magic = Magic::Magic.new # get mime type of file mime_type = magic.file("/path/to/some/file")
TODO: Write development instructions here
- Fork it ( https://github.com/pablotron/libmagic-crystal/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
- pablotron Paul Duncan - creator, maintainer