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

Like dart:io but with Node.js.

4
likes
90/ 140
pub points
89%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

252 out of 259 API elements (97.3 %) have documentation comments.

Some symbols that are missing documentation: node_io.Directory.path, node_io.File.path, node_io.Link.Link.fromRawPath, node_io.Link.path, node_io.NodeHttpRequest.nativeInstance.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/platform.dart that imports:
  • package:node_interop/util.dart that imports:
  • package:node_interop/node.dart that imports:
  • package:node_interop/timers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform iOS

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/platform.dart that imports:
  • package:node_interop/util.dart that imports:
  • package:node_interop/node.dart that imports:
  • package:node_interop/timers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Windows

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/platform.dart that imports:
  • package:node_interop/util.dart that imports:
  • package:node_interop/node.dart that imports:
  • package:node_interop/timers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Linux

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/platform.dart that imports:
  • package:node_interop/util.dart that imports:
  • package:node_interop/node.dart that imports:
  • package:node_interop/timers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform macOS

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/platform.dart that imports:
  • package:node_interop/util.dart that imports:
  • package:node_interop/node.dart that imports:
  • package:node_interop/timers.dart that imports:
  • package:js/js.dart that imports:
  • dart:js
Package not compatible with platform Web

Because:

  • package:node_io/node_io.dart that imports:
  • package:node_io/src/network_interface.dart that imports:
  • package:node_io/src/internet_address.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

INFO: The import of 'dart:js' is unnecessary because all of the used elements are also provided by the import of 'dart:js_util'.

lib/src/http_server.dart:6:8

  ╷
6 │ import 'dart:js';
  │        ^^^^^^^^^
  ╵

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

INFO: An uninitialized variable should have an explicit type annotation.

lib/src/http_server.dart:301:11

    ╷
301 │       var scheme;
    │           ^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
file ^6.1.4 6.1.4 7.0.0
node_interop ^2.0.2 2.1.0 2.1.0
path ^1.8.0 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest
js - 0.6.7 0.7.1
meta - 1.14.0 1.14.0

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

The constraint `^6.1.4` on file does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions file to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

4
likes
90
pub points
89%
popularity

Publisher

unverified uploader

Like dart:io but with Node.js.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

file, node_interop, path

More

Packages that depend on node_io