Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ mime Public

❗ This is a read-only mirror of the CRAN R package repository. mime — Map Filenames to MIME Types. Homepage: https://github.com/yihui/mime Report bugs for this package: https://github.com/yihui/mime/issues

Notifications You must be signed in to change notification settings

cran/mime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mime

R-CMD-check CRAN release

This is an R package for mapping filename extensions to MIME types, based on the data derived from /etc/mime.types.

# installation
install.packages('mime')

library(mime)
guess_type(c('a/b/c.html', 'd.pdf', 'e.odt', 'foo.docx', 'tex'))
# [1] "text/html"                                                              
# [2] "application/pdf"                                                        
# [3] "application/vnd.oasis.opendocument.text"                                
# [4] "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
# [5] "text/x-tex"

About

❗ This is a read-only mirror of the CRAN R package repository. mime — Map Filenames to MIME Types. Homepage: https://github.com/yihui/mime Report bugs for this package: https://github.com/yihui/mime/issues

Resources

Stars

Watchers

Forks

Packages

No packages published