Package: zumime 0.1.0
zumime: Media Type Detection from Bytes and File Names
Tells what a file is from its first bytes and from its name, with no system library. Implements the Web Hypertext Application Technology Working Group (WHATWG) Multipurpose Internet Mail Extensions (MIME) Sniffing Standard <https://mimesniff.spec.whatwg.org/> over raw vectors and paths. Reads inside containers to tell 'Office' documents from plain 'ZIP' archives, audio from video in 'MP4' files, and 'Word' from 'Excel' in legacy 'Office' files, and recognises the data files 'R' users hold, such as files saved by 'R', 'Parquet', 'SQLite' and 'Stata' files. Every type has a parent in a hierarchy, and an extension table generated from the Internet Assigned Numbers Authority (IANA) media types registry and the 'Apache' 'httpd' type map answers from the name. One call reports both answers, whether they agree, and whether a file is compressed, encrypted or truncated.
Authors:
zumime_0.1.0.tar.gz
zumime_0.1.0.zip(r-4.7-x86_64)zumime_0.1.0.zip(r-4.7-arm64)zumime_0.1.0.zip(r-4.6-x86_64)zumime_0.1.0.zip(r-4.6-arm64)
zumime_0.1.0.tar.gz(r-4.7-arm64)zumime_0.1.0.tar.gz(r-4.7-x86_64)zumime_0.1.0.tar.gz(r-4.6-arm64)zumime_0.1.0.tar.gz(r-4.6-x86_64)
zumime_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zumime/json (API)
| # Install 'zumime' in R: |
| install.packages('zumime', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pedrobtz/zumime/issues
Pkgdown/docs site:https://pedrobtz.github.io
Last updated from:b1adf8120c. Checks:10 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 97 | ||
| linux-devel-x86_64 | OK | 146 | ||
| source / vignettes | OK | 234 | ||
| linux-release-arm64 | OK | 94 | ||
| linux-release-x86_64 | OK | 120 | ||
| windows-devel-arm64 | OK | 220 | ||
| windows-devel-x86_64 | OK | 215 | ||
| windows-release-arm64 | OK | 225 | ||
| windows-release-x86_64 | OK | 203 | ||
| wasm-release | OK | 87 |
Exports:mime_checkmime_extensionsmime_finishmime_formatmime_guessmime_ismime_parentmime_parsemime_pushmime_registermime_sniffmime_sniffermime_typemime_typesmime_unregisterzumime_info
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Is a file one of these types? | mime_check |
| Extensions of a type | mime_extensions |
| Guess a type from a file name | mime_guess |
| Is a type one of these? | mime_is |
| The lineage of a type | mime_parent |
| Parse and serialise MIME types | mime_format mime_parse |
| Register a type for the session | mime_register mime_unregister |
| Sniff a type from bytes | mime_sniff |
| Sniff a stream chunk by chunk | mime_finish mime_push mime_sniffer |
| Type files from their bytes and their names | mime_type |
| The type registry | mime_types |
| Build information | zumime_info |
