front_matter 1.1.0

Dart native
Flutter Android iOS

A front matter parser that extracts YAML metadata from the start of a file or string.

1
likes
90 / 110
pub points
56 %
popularity

We analyzed this package on Aug 7, 2020, and awarded it 90 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/front_matter.dart

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

  • 14 out of 17 API elements (82.4 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:front_matter/front_matter.dart that imports:
  • package:front_matter/src/front_matter.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 3 issues. Showing the first 2:

INFO: Annotate overridden members.

lib/src/front_matter_document.dart:17:10

   ╷
17 │   String toString() => this.value;
   │          ^^^^^^^^
   ╵

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

INFO: Don't access members with `this` unless avoiding shadowing.

lib/src/front_matter_document.dart:17:24

   ╷
17 │   String toString() => this.value;
   │                        ^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
yaml^2.1.152.2.12.2.1
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
meta-1.2.21.2.2
path-1.7.01.7.0
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0

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

1
likes
90
pub points
56%
popularity

A front matter parser that extracts YAML metadata from the start of a file or string.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

Uploader

izolate@gmail.com

License

MIT (LICENSE)

Dependencies

yaml

More

Packages that depend on front_matter