mime2extension 0.0.4 copy "mime2extension: ^0.0.4" to clipboard
mime2extension: ^0.0.4 copied to clipboard

A Flutter package for converting between MIME types and file extensions with wildcard support and base64 file type detection via magic bytes.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add mime2extension

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  mime2extension: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:mime2extension/mime2extension.dart';
6
likes
150
points
1.33k
downloads

Documentation

API reference

Publisher

verified publisheruditswaroopa.tech

Weekly Downloads

A Flutter package for converting between MIME types and file extensions with wildcard support and base64 file type detection via magic bytes.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on mime2extension