webfetch 0.0.16 webfetch: ^0.0.16 copied to clipboard
A Dart implementation of the Web Fetch API that allows you to make requests and process results just like using fetch in a browser.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 140):
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
135 out of 151 API elements (89.4 %) have documentation comments.
Some symbols that are missing documentation: webfetch
, webfetch.ArrayBuffer
, webfetch.Client
, webfetch.Client.Client
, webfetch.Client.send
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Unnecessary cast.
lib/src/client/client.web.dart:134:39
╷
134 │ _headers!.append('set-cookie', (cookie as js_interop.JSString).toDart);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client/client.web.dart
INFO: Unnecessary cast.
lib/src/client/client.web.dart:193:13
╷
193 │ return (value as js_interop.JSString).toDart;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/client/client.web.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
mime |
^1.0.4 |
1.0.5 | 1.0.5 |
web |
>=0.3.0 <0.6.0 |
0.5.1 | 0.5.1 |
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.22.3
, Dart 3.3.4
.
Check the analysis log for details.