clightning_rpc 0.0.1 copy "clightning_rpc: ^0.0.1" to clipboard
clightning_rpc: ^0.0.1 copied to clipboard

Dart framework for C-Lightning to work with the RPC interface.

3
likes
100/ 140
pub points
32%
popularity

We analyzed this package 44 hours ago, and awarded it 100 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: clightning_rpc,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/rpc/pubspec.yaml from the repository URL mismatch: expected https://github.com/dart-lightning/clightning-rpc.dart but got https://github.com/dart-lightning/lndart.clightning.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

partial
Provide documentation
10 / 20trigger folding of the section

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

1 out of 10 API elements (10.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: clightning.dart, clightning.dart.LightningClient.call, clightning.dart.LightningClient.close, clightning.dart.LightningClient.connect, clightning.dart.RPCClient.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger 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:clightning_rpc/clightning_rpc.dart that imports:
  • package:clightning_rpc/src/clightning_rpc.dart that imports:
  • package:clightning_rpc/src/utils/unix_rpc_client.dart that imports:
  • package:clightning_rpc/src/utils/logger_manager.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

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

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
json_rpc_2 ^3.0.1 3.0.2 3.0.2
jsonrpc2 ^3.0.1 3.0.1 3.0.1
logger ^1.0.0 1.4.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
rpc_dispatcher - 1.0.1 1.0.1
rpc_exceptions - 1.0.1 1.0.1
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2

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

The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.

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

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.

3
likes
100
pub points
32%
popularity

Publisher

unverified uploader

Dart framework for C-Lightning to work with the RPC interface.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

json_rpc_2, jsonrpc2, logger

More

Packages that depend on clightning_rpc