mime 0.9.6+3

Dart native js
Flutter Android iOS web

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

23
likes
100 / 110
pub points
99 %
popularity

We analyzed this package on Aug 6, 2020, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 13 out of 18 API elements (72.2 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 20 issues. Showing the first 2:

INFO: Only use double quotes for strings containing single quotes.

lib/src/bound_multipart_stream.dart:48:34

   ╷
48 │     throw MimeMultipartException("Failed to parse multipart mime 1");
   │                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/bound_multipart_stream.dart

INFO: Only use double quotes for strings containing single quotes.

lib/src/bound_multipart_stream.dart:54:34

   ╷
54 │     throw MimeMultipartException("Failed to parse multipart mime 2");
   │                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/bound_multipart_stream.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

23
likes
100
pub points
99%
popularity

Utilities for handling media (MIME) types, including determining a type from a file extension and file contents.

Homepage

Documentation

API reference

Uploaders

dgrove@google.com
sigmund@google.com
kevmoo@google.com
kustermann@google.com

License

BSD (LICENSE)

More

Packages that depend on mime