cid 1.0.0 copy "cid: ^1.0.0" to clipboard
cid: ^1.0.0 copied to clipboard

A dart-lang implementation for creating self-describing content-addressed identifiers for distributed systems (CIDs).

2
likes
140/ 160
pub points
30%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/dwyl/dart_cid/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

7 out of 16 API elements (43.8 %) have documentation comments.

Some symbols that are missing documentation: dart_cid, dart_cid.CIDInfo.cid, dart_cid.CIDInfo.multibase, dart_cid.CIDInfo.multicodecCode, dart_cid.CIDInfo.multicodecName.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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

/tmp/pana_GLNGRQ/lib/src/cid.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_GLNGRQ/lib/src/decode_cid.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
base32 ^2.1.3 2.1.3 2.1.3
bs58 ^1.0.2 1.0.2 1.0.2
buffer ^1.1.1 1.2.3 1.2.3
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.2 3.0.6 3.0.6
dart_multihash ^1.0.1 1.0.1 1.0.1
Transitive dependencies
Package Constraint Compatible Latest
base_x - 2.0.1 2.0.1
collection - 1.19.1 1.19.1
typed_data - 1.4.0 1.4.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

2
likes
140
pub points
30%
popularity

Publisher

verified publisherdwyl.com

A dart-lang implementation for creating self-describing content-addressed identifiers for distributed systems (CIDs).

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

base32, bs58, buffer, convert, crypto, dart_multihash

More

Packages that depend on cid