An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# FileType
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/anvell/filetype/check.yml?label=Build%20%26%20Test&style=flat-square)
[![](https://jitpack.io/v/anvell/filetype.svg?style=flat-square)](https://jitpack.io/#anvell/filetype)
[![License](https://img.shields.io/github/license/anvell/filetype.svg?style=flat-square)](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.