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 <bob@rud.is>
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("remotes")
remotes::install_github("hrbrmstr/simplemagic")
hrbrmstr/simplemagic documentation built on July 22, 2019, 8:05 a.m.