https://github.com/anvell/filetype
Perform file type checking using the magic numbers
https://github.com/anvell/filetype
binary filetype filetype-checker kotlin magic-number mime-types multiplatform
Last synced: 5 months ago
JSON representation
Perform file type checking using the magic numbers
- Host: GitHub
- URL: https://github.com/anvell/filetype
- Owner: Anvell
- License: mit
- Created: 2023-07-22T15:40:05.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-17T21:11:51.000Z (about 2 years ago)
- Last Synced: 2025-07-21T11:50:12.984Z (11 months ago)
- Topics: binary, filetype, filetype-checker, kotlin, magic-number, mime-types, multiplatform
- Language: Rich Text Format
- Homepage: https://anvell.github.io/filetype/
- Size: 3.75 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# FileType

[](https://jitpack.io/#anvell/filetype)
[](https://github.com/anvell/filetype/blob/master/LICENSE)
Small [Kotlin Multiplatform](https://kotlinlang.org/docs/multiplatform.html) library to perform file type checking using the [magic numbers]().
This library is similar to Go [filetype](https://github.com/h2non/filetype) package and Rust [infer](https://github.com/bojand/infer) crate.
## API
See [Dokka](https://anvell.github.io/filetype/filetype/io.github.anvell.filetype/index.html) reference.