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
110/ 160
pub points
80%
popularity

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

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

422 out of 512 API elements (82.4 %) have documentation comments.

Some symbols that are missing documentation: node_io.Datagram.Datagram, node_io.Directory.path, node_io.File.path, node_io.FileSystemEntity.FileSystemEntity, node_io.FileSystemEntity.path.

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

INFO: The referenced identifier is a wildcard.

lib/src/file.dart:254:39

    ╷
254 │       FileStat.stat(path).then((_) => _.accessed);
    │                                       ^
    ╵

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

INFO: The referenced identifier is a wildcard.

lib/src/file.dart:261:39

    ╷
261 │       FileStat.stat(path).then((_) => _.modified);
    │                                       ^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger 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.1
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.16.0 1.16.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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.12, Dart 3.5.3.

Check the analysis log for details.

4
likes
110
pub points
80%
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