universal_io 2.3.0 copy "universal_io: ^2.3.0" to clipboard
universal_io: ^2.3.0 copied to clipboard

Cross-platform 'dart:io' that adds browser support for HttpClient and some other "dart:io" APIs.

150/ 160
pub points
1.83M
downloads

We analyzed this package 24 days ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

46 out of 51 API elements (90.2 %) have documentation comments.

Some symbols that are missing documentation: io, universal_io.BrowserHttpClient.BrowserHttpClient.constructor, universal_io.BrowserHttpClientException.BrowserHttpClientException.new, universal_io.BrowserHttpClientRequest.BrowserHttpClientRequest.new, universal_io.BrowserHttpClientResponse.BrowserHttpClientResponse.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:universal_io/universal_io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

/tmp/pana_DGLBEP/lib/src/_http_headers_impl.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_DGLBEP/lib/src/_io_sink_base.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.17.0 1.19.1 1.19.1
meta ^1.9.0 1.17.0 1.17.0
typed_data ^1.3.0 1.4.0 1.4.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
255
likes
150
points
1.83M
downloads

Publisher

verified publisherdint.dev

Weekly Downloads

Cross-platform 'dart:io' that adds browser support for HttpClient and some other "dart:io" APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

collection, meta, typed_data

More

Packages that depend on universal_io