ReFuel.ReMime 0.1.1

dotnet add package ReFuel.ReMime --version 0.1.1                
NuGet\Install-Package ReFuel.ReMime -Version 0.1.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ReFuel.ReMime" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ReFuel.ReMime --version 0.1.1                
#r "nuget: ReFuel.ReMime, 0.1.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ReFuel.ReMime as a Cake Addin
#addin nuget:?package=ReFuel.ReMime&version=0.1.1

// Install ReFuel.ReMime as a Cake Tool
#tool nuget:?package=ReFuel.ReMime&version=0.1.1                

ReMime - Simple Media Type Resolution

ReMime is a very humble library that can identify IANA media types of file from their file extension and its content. While being fully extensible with your own resolvers, ReMime will also refer to your operating system's file type database when resolving files.

Platform Caveats

  • On Windows, the default resolver assumes your application has read access to the registry.
  • On Linux, not all /etc/mime.types syntax is supported.
  • None of this was written with MacOS in mind. But maybe it'll work?

Refer to ReMime.ReFile as an example of how to use the library. Refer to in line documentation and the given default resolvers as an example resolver to implementations.

Contributing

Feel free to contribute your own file type resolvers and bug fixes. The more file types that can be detected accurately, the better. Currently the repository is available at https://git.mixedup.dev/ReFuel/ReMime. Accepting email patches.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.1 121 8/30/2024
0.1.0 104 8/30/2024