content_type 0.5.0 copy "content_type: ^0.5.0" to clipboard
content_type: ^0.5.0 copied to clipboard

outdatedDart 1 only

Useful when you need to deal with content types (mime types).

Content-Type #

A simple utility to retrieve the content-type for a filename.

Examples #

import 'package:content_type/content_type.dart';

main() {
  print(getContentType(filename: 'foobarbaz.html'); // text/html
}

License #

This library is licensed under MIT.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Useful when you need to deal with content types (mime types).

Repository
View/report issues

License

unknown (license)

Dependencies

unittest

More

Packages that depend on content_type