Popularity
2.0
Declining
Activity
0.0
Stable
4
3
0

Programming language: Crystal
License: MIT License
Tags: Low Level Bindings    

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?

Add another 'Low level bindings' Shard

README

libmagic-crystal

Crystal bindings for libmagic.

Installation

Add this to your application's shard.yml:

dependencies:
  libmagic-crystal:
    github: pablotron/libmagic-crystal

Usage

require "libmagic-crystal/magic"

# create magic bindings
magic = Magic::Magic.new

# get mime type of file
mime_type = magic.file("/path/to/some/file")

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/pablotron/libmagic-crystal/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • pablotron Paul Duncan - creator, maintainer