mangadex_library 2.0.4 icon indicating copy to clipboard operation
mangadex_library: ^2.0.4 copied to clipboard

A mangadex library for dart to facilitate easier access to the Mangadex API (https://api.mangadex.org)

3
likes
130/ 140
pub points
49%
popularity

We analyzed this package 6 days ago, and awarded it 130 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

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

96 out of 149 API elements (64.4 %) have documentation comments.

Some symbols that are missing documentation: mangadex_library, ChapterOrders, ChapterOrders, ContentRating, ContentRating.

10/10 points: Package has an example

icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:mangadex_library/mangadex_library.dart that imports:
  • package:mangadex_library/src/repositories/repository.dart that imports:
  • package:mangadex_library/src/repositories/user_repository.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
40 / 50icon to trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: 'refresh' is deprecated and shouldn't be used. This function is deprecated until further actions are taken my mangadex to introduce the new login methods.

lib/mangadex_library.dart:53:27

   ╷
53 │           _token = (await refresh(_token!.refresh!)).token;
   │                           ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/mangadex_library.dart

INFO: Dangling library doc comment.

lib/src/models/common/attributes.dart:1:1

  ╷
1 │ ///@nodoc
  │ ^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/common/attributes.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

Package Constraint Compatible Latest
http ^1.1.0 1.1.2 1.1.2
json_annotation ^4.8.1 4.8.1 4.8.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
meta - 1.11.0 1.11.0
path - 1.8.3 1.8.3
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
web - 0.4.0 0.4.0

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

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

Analyzed with Pana 0.21.43, Dart 3.2.1.

Check the analysis log for details.

3
likes
130
pub points
49%
popularity

Publisher

unverified uploader

A mangadex library for dart to facilitate easier access to the Mangadex API (https://api.mangadex.org)

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

http, json_annotation

More

Packages that depend on mangadex_library