hrbrmstr/simplemagic: Lightweight File 'MIME' Type Detection Based On Contents or Extension

'MIME' types are shorthand descriptors for file contents and can be determined from "magic" bytes in file headers, file contents or intuited from file extensions. Tools are provided to perform limited "magic" tests as well as mapping 'MIME' types from a database of over 1,500 extension mappings. It is useful as a more portable alternative to the 'wand' package.

Getting started

Package details

MaintainerBob Rudis <[email protected]>
LicenseAGPL
Version0.1.0
URL https://github.com/hrbrmstr/simplemagic
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("hrbrmstr/simplemagic")
hrbrmstr/simplemagic documentation built on April 7, 2018, 10:09 a.m.